<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 14 December 2013 01:39, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2013-12-13 15:50, Manu wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Really? Everything I've ever written on iOS was in full C++, with just<br>
one .m file to boot, and marshall the view and input events :)<br>
I think doing the same with D would be equally trivial. A game doesn't<br>
need access to the full iOS UI library. Any OS service calls can be<br>
wrapped in C functions in the marshalling .m file.<br>
</blockquote>
<br></div>
No need for an Objective-C file. The Objective-C methods can be accessed through the C functions available in the Objective-C runtime from D. Although, as been mentioned many times before, that's verbose and cumbersome. Both are ugly solutions, don't know which is the least ugly.</blockquote>
<div><br></div><div>Maybe one day we'll get extern(Obj-C), that'll be an exciting day :)</div></div></div></div>