iOS progress

Dan Olson via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Feb 17 23:49:37 PST 2015


"Laeeth Isharc" <nospamlaeeth at nospam.laeeth.com> writes:
> This is great news.  I realize the magnitude of the
> accomplishment just in getting this to work, but if/when you have
> time would love to get a sense for what can and can't be done as
> far as accessing the iOS SDK/Cocoa given that the Objective C
> support is not yet complete.
>
> https://michelf.ca/projects/d-objc/

I can't wait for that change to get in dmd. I believe Jacob is pushing
on it. I have thought of putting that change directly into this iOS
branch, but that might make it difficult when I start making pull
requests to get the iOS support into LDC and DMD.

There are some D ObjC bridges out there that might work, I think Jacob
wrote one. Then there was this post by Yuriy:

http://forum.dlang.org/thread/m2d2h15ao3.fsf@comcast.net?page=2#post-ftzfashwfgpiverwkyeo:40forum.dlang.org

I have not used any myself. I have my own hackish objc wrappers I use.

Probably today the best use of this iOS LDC toolchain is to compile
existing D libraries and do Cocoa calls with objc or swift.

> What is it that makes this iphone specific, and what plans are
> there to enable ipad-adapted apps?
>
> https://github.com/smolt/ldc-iphone-dev

It works same for iPad and iPhone. I actually do most of my testing on
an iPad-mini with a cortex-a9.

> Sorry for the basic questions - I have no experience of iOS
> development, but I figured the answer might be of interest to
> others.

Yeah there is a lot more I need to document.  It is coming.  I also have
more sample apps to add to https://github.com/smolt/ldc-iphone-dev.
-- 
Dan


More information about the digitalmars-d-ldc mailing list