• 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: Fritz Anderson <email@hidden>
  • Date: Mon, 07 Nov 2011 19:30:36 -0600

On 7 Nov 2011, at 7:16 PM, Don Quixote de la Mancha wrote:

> I don't really know, but it seems to me that there just *has* to be a
> way to enumerate all of the elements in those selector tables.  If
> there is, then no method would be private.

It took me a minute, but now I really know: class_copyMethodList(), in the Objective-C Runtime Reference.

This isn't a new discovery. I think if you read five pages on the subject, and look in the mirror, you'll see "There Are No Private Methods In Objective-C" tattooed on your forehead.

	— F

_______________________________________________

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: Jens Alfke <email@hidden>)
 >Re: Private Method? (From: Don Quixote de la Mancha <email@hidden>)

  • Prev by Date: Re: Private Method?
  • Next by Date: Re: Private Method?
  • Previous by thread: Re: Private Method?
  • Next by thread: Re: Private Method?
  • Index(es):
    • Date
    • Thread