gbdavid gbdavid - 1 month ago 13
Linux Question

Can I port a cocoa app made in swift to Windows and Linux?

I have a Cocoa app that I wrote targeting OS X 10.11 using swift and storyboards. Is there a way to port it to Linux and Windows, or at least part of it? (e.g. moving some code a Cocoa framework and using a tool to port it etc.)

I saw this question that mentions Cocotron, but it's only for Objective-C and it seems it's not fully developed.

Thanks for you Advice

Answer

Apple has said that Swift will be open sourced "later this year" and ported to Linux, but they haven't said any such thing about Windows.