Re: private methods and variables
Re: private methods and variables
- Subject: Re: private methods and variables
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 29 Jul 2008 20:40:05 -0400
On Tue, Jul 29, 2008 at 7:58 PM, Ken Thomases <email@hidden> wrote:
> On Jul 29, 2008, at 6:53 PM, Kyle Sluder wrote:
>> Did you intend for the first example's ivar to be contained within
>> braces? In that case, you were right the first time.
>
> You can't add additional ivars in an @implementation block. You can only
> redundantly mirror the ivar declarations that were in the @interface block
> which is a waste of typing and doesn't accomplish what he was trying to do:
> declare private instance variables that wouldn't appear in the header.
Yeah, my brain saw @interface. Seen the right pattern too much. :P
--Kyle Sluder
_______________________________________________
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