On Mar 11, 2015, at 02:36 , Charles Srstka <cocoa...@charlessoft.com> wrote:
> 
> Rewriting all the frameworks in another language

No, no, no, that’s not the suggestion. The suggestion is to rewrite the *SDKs* 
in Swift. Public headers only. Almost all of the rewrite would be an automatic 
conversion that exists already.

Swift sorta has the concept of headers already, as you see when you 
command-click a library symbol, and it has both directions of declaration 
bridging (to and from Obj-C .h files), in at least a limited way. So instead of 
annotating Obj-C and bridging to Swift, bridge to Swift one time, then fix and 
make that the official SDK source, then bridge back to Obj-C again.

It’s a bit of a fantasy, because this would in practice be inconvenient for 
writers of frameworks, but I suppose you could further fantasize that Obj-C 
would #import Swift “header” files directly.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to