You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kevin Wooten (JIRA)" <ji...@apache.org> on 2015/07/04 04:57:05 UTC

[jira] [Commented] (THRIFT-3049) As an iOS developer, I want a generator and library that produces Swift code

    [ https://issues.apache.org/jira/browse/THRIFT-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613557#comment-14613557 ] 

Kevin Wooten commented on THRIFT-3049:
--------------------------------------

My attempt at modernizing the Cocoa implementation THRIFT-2905 includes many changes to support Swift.  Although this isn't a Swift implementation the changes do make using the generated in Swift much more natural.  The changes also allow implementing protocols and transports in Swift properly because NSException has been removed entirely and replaced with NSError; this also means Swift 2's error handling makes implementing things in Swift easier than ObjC.

I'll be adding the new nullability qualifiers (nonnull & nullable) and lightweight Objective-C generics in my next pass.  The current pull request is here https://github.com/apache/thrift/pull/539

> As an iOS developer, I want a generator and library that produces Swift code
> ----------------------------------------------------------------------------
>
>                 Key: THRIFT-3049
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3049
>             Project: Thrift
>          Issue Type: Epic
>          Components: Compiler (General)
>            Reporter: Juan Moreno
>
> Swift is slowly replacing the legacy Objective-C. To keep thrift with the times, let's bake it in.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)