• 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: Question about Style wrt "private" methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about Style wrt "private" methods


  • Subject: Re: Question about Style wrt "private" methods
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 18 Nov 2009 19:43:53 -0500
  • Organization: Rogue Research Inc.

On 11/18/09 2:15 PM, Jim Correia said:

>This problem is much less insidious than the category problem, but the
>potential does exist. (For both private and public methods.)

For the category case, you can set the environment variable
OBJC_PRINT_REPLACED_METHODS=YES.
You'll get something like this:

objc[60273]: REPLACED: -[NSArray firstObject]  by category RRExtra  (IMP
was 0x9612d970 (/System/Library/Frameworks/CoreFoundation.framework/
Versions/A/CoreFoundation), now 0x21b50e (/path/to/myapp))

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >Question about Style wrt "private" methods (From: Michael de Haan <email@hidden>)
 >Re: Question about Style wrt "private" methods (From: Jens Alfke <email@hidden>)
 >Re: Question about Style wrt "private" methods (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: unable to select submenu item
  • Next by Date: Re: firstResponder KVO snow leopard crash; bug?
  • Previous by thread: Re: Question about Style wrt "private" methods
  • Next by thread: [iPhone] UITableView section header title color
  • Index(es):
    • Date
    • Thread