Kevin Li created THRIFT-1896:
--------------------------------

             Summary: 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


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

Reply via email to