On Sat, Aug 30, 2008 at 10:47 PM, John Velman <[EMAIL PROTECTED]> wrote:
> Thanks.  I think the self.document method you describe will do it for me.
> This is part of the syntax (and a relation) that I'd missed.  So much
> to learn!

self.document is a dot-syntax accessor, which the compiler seamlessly
translates to [self document].  This is convenient when you do
something like self.document.myProperty, because it saves you two
levels of square brackets.  This is a new feature of Objective-C 2.0,
but is nothing more than syntactic sugar.

--Kyle Sluder
_______________________________________________

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]

Reply via email to