Re: How did I miss this?
Re: How did I miss this?
- Subject: Re: How did I miss this?
- From: Phil <email@hidden>
- Date: Mon, 8 Sep 2008 15:47:52 +1200
On Mon, Sep 8, 2008 at 3:23 PM, mmalc crawford <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden