On Mon, Sep 8, 2008 at 3:23 PM, mmalc crawford <[EMAIL PROTECTED]> wrote:
>
> 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."
>

Hmm, I seem to have interpreted the patterns under "incorrect use" as
being a bit broader than they actually are.

Phil
_______________________________________________

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