Re: Private Method?
Re: Private Method?
- Subject: Re: Private Method?
- From: Joar Wingfors <email@hidden>
- Date: Sun, 06 Nov 2011 23:45:40 -0800
On 6 nov 2011, at 23:39, Graham Cox wrote:
>> If the former, how does this technique compare with the trick of putting an…
>>
>> @interface someClass ()
>> - (type) somePrivateMethod;
>> @end
>>
>> …in the implementation?
>
> I could be wrong, but I'm not sure that syntax is legal. The round brackets should include something in between to define a Category. For private methods, 'Private' is typical.
That's a class extension:
<http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/ObjectiveC/Chapters/ocCategories.html>
j o a r
_______________________________________________
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