I Did It! Calling D Library from Objective C in XCode on OSX

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 14 09:28:20 PST 2015


On 2015-12-14 11:09, Mike McKee wrote:

> As for D calling the Apple Foundation Classes, they are, evidently,
> available to C++, so perhaps they can be loaded in D.

They're not available in C++. They're available in Objective-C++, which 
is a different language.

Yes, they can be accessed from D [1].

[1] http://dlang.org/spec/objc_interface.html

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list