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 Li (JIRA)" <ji...@apache.org> on 2013/03/20 23:49:14 UTC
[jira] [Updated] (THRIFT-1896) Add TBase protocol for Cocoa
[ https://issues.apache.org/jira/browse/THRIFT-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Li updated THRIFT-1896:
-----------------------------
Attachment: thrift-1896.patch
> Add TBase protocol for Cocoa
> ----------------------------
>
> Key: THRIFT-1896
> URL: https://issues.apache.org/jira/browse/THRIFT-1896
> Project: Thrift
> Issue Type: Improvement
> Components: Cocoa - Compiler
> Affects Versions: 0.9
> Reporter: Kevin Li
> Priority: Minor
> Fix For: 1.0
>
> Attachments: thrift-1896.patch, thrift-1896-TBase.patch
>
>
> Add TBase protocol for cocoa generator. By having all generated classes declare conformance of this protocol allows tighter type checking in compile time. One could use "id<TBase>" instead of "id" when passing these objects around. This is also inline with other OO languages' implementation like csharp, python and php.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira