• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Private Method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Private Method?


  • Subject: Re: Private Method?
  • From: Graham Cox <email@hidden>
  • Date: Tue, 08 Nov 2011 08:16:56 +1100

Useful to know, thanks.

(Seems a certain amount of updated documentation is passing me by. I like to think I'm pretty diligent about keeping up with stuff as it's released, but I hadn't spotted this one. I'm not sure if it's something I'm doing wrong, or if there could be a better way to flag up new stuff to ensure that developers see it. )

--Graham


On 07/11/2011, at 6:45 PM, Joar Wingfors wrote:

>
> 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

References: 
 >Private Method? (From: Bryan Harrison <email@hidden>)
 >Re: Private Method? (From: Graham Cox <email@hidden>)
 >Re: Private Method? (From: Joar Wingfors <email@hidden>)

  • Prev by Date: Re: Allocating too much memory kills my App rather than returning NULL
  • Next by Date: Re: Allocating too much memory kills my App rather than returning NULL
  • Previous by thread: Re: Private Method?
  • Next by thread: Re: Private Method?
  • Index(es):
    • Date
    • Thread