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

Reply via email to