Firs step of D/Objective-C merged
Jacob Carlborg via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Jul 14 06:59:51 PDT 2015
On 2015-07-14 03:11, Michel Fortin wrote:
> More or less. If you define an `extern (Objective-C)` class in D (once
> all my work is merged), you can use it and derive from it in Swift. If
> you define an `@objc` class in Swift you can use it from Objective-C and
> from D, but you can't derive from it.
Do you know why you can't derive from it?
> Note that the Swift ABI isn't stable yet. So the above might change at
> some point.
But they need to follow the Objective-C ABI, for the @objc classes. I
guess they technically can change the Objective-C ABI if they want to.
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list