[ 
https://issues.apache.org/jira/browse/THRIFT-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew McGeachie resolved THRIFT-521.
-------------------------------------

    Resolution: Fixed

Committed.  Thanks Matt.

> Objective-C 2.0 properties
> --------------------------
>
>                 Key: THRIFT-521
>                 URL: https://issues.apache.org/jira/browse/THRIFT-521
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Cocoa)
>            Reporter: Matt Stevens
>            Assignee: Andrew McGeachie
>            Priority: Minor
>         Attachments: thrift-521.patch
>
>
> On platforms that support them it would be useful to declare Objective-C 2.0 
> properties in the generated objects. If a developer is using properties in 
> their code this can help the generated objects fit in a little better with 
> the rest of the project.
> To maintain compatibility with with pre-10.5 systems the property 
> declarations can be wrapped by a platform-specific ifdef:
> {code}
> #if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= 
> MAC_OS_X_VERSION_10_5)
> @property (nonatomic, getter=fancyBool, setter=setFancyBool:) BOOL fancyBool;
> @property (nonatomic, retain, getter=title, setter=setTitle:) NSString * 
> title;
> #endif
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to