[
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-TBase.patch
new file
> 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