On Sep 7, 2008, at 7:01 PM, Phil wrote:
The sub-section on "Incorrect Use", also explains that you shouldn't
use this syntax if it's not on a declared property (and
NSViewController doesn't have any).
I'm not sure where you got this from?
It is certainly not incorrect to use the dot syntax if there is not a
declared property.
The introduction states:
"Objective-C provides a dot (.) operator that offers a compact and
convenient syntax you can use as an alternative to square bracket
notation ([]s) to invoke accessor methods."
Declared Properties are mentioned later:
"Accessing a property property calls the get method associated with
the property (by default, property) and setting it calls the set
method associated with the property (by default, setProperty:). You
can change the methods that are invoked by using the Declared
Properties feature (see “Declared Properties”)."
mmalc
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]