I’ve added Swift code generation support.  It lives in my (*cough* aging 
*cough*) pull request #539 <https://github.com/apache/thrift/pull/539>

I literally have just finished the code and it’s had very little testing apart 
from ensuring it generates compilable code.  Anybody who would like to take 
part in shaping the way the code is generated should check it out and send me 
your feedback.

It requires Swift 2.0 from Xcode 7.

It builds on my previous changes to modernize and optimize the Objective-C 
library and generated code. It does so because the generated Swift code re-uses 
the modernized cocoa library code.  I’d like to see these shared for the 
foreseeable future since I see no advantage to duplicating this library code at 
this time; other than being able to say it’s “all swift” it wouldn’t provide 
any real advantages.

Enjoy.


* I jokingly referred to my PR as aging because it was never merged but it 
probably needs to wait now until the Swift generations is stabilized and 
tested.  Alternatively I could move the Swift code to a new PR and #539 could 
be merged.

Reply via email to