Re: clang 1.5 and property syntax?
Re: clang 1.5 and property syntax?
- Subject: Re: clang 1.5 and property syntax?
- From: Chris Hanson <email@hidden>
- Date: Fri, 03 Sep 2010 02:01:14 -0700
On Sep 2, 2010, at 2:56 PM, Rick Mann wrote:
> Note that the autoresizingMask property* of NSView does not exhibit this behavior. Also note that the code completion doesn't work for the dot-syntax version of either property, but does work for the message-passing syntax.
Xcode intentionally only offers completions for properties declared @property when using dot syntax.
There would otherwise be a great many non-property framework methods offered as completions as well. (Examples are -init, -retain, -copy which should never be used via dot syntax, as they represent an object’s behavior rather than its state.)
If there’s a class or framework that’s not using @property to declare the API for its state, please file a bug on it. Thanks.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden