• 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: Can anyone confirm this IB Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can anyone confirm this IB Bug?


  • Subject: Re: Can anyone confirm this IB Bug?
  • From: Jonathan Dann <email@hidden>
  • Date: Sun, 10 Aug 2008 23:12:05 +0100


On 4 Aug 2008, at 18:15, Kevin Cathey wrote:

To debug category replacement, set the environment variable OBJC_PRINT_REPLACED_METHODS on your executable to any value. Then, run your executable. You will get a list of all the category methods that are being replaced with what, and you can see for sure if your implementation of firstObject is smashing another in the Objective-C runtime.

That said, for now, you will need to change the name of your method (maybe cfFirstObject?). Please file a bug on Foundation so they can add this common method to NSArray.

Kevin

----------------------
Kevin Cathey


Kevin,

That's a great tip, I didn't know about OBJC_PRINT_REPLACED_METHODS.  That will be very useful.

Filed as rdar://6139139

Jonathan

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Can anyone confirm this IB Bug? (From: Jonathan Dann <email@hidden>)
 >Re: Can anyone confirm this IB Bug? (From: Stephane Sudre <email@hidden>)
 >Re: Can anyone confirm this IB Bug? (From: Jonathan Dann <email@hidden>)
 >Re: Can anyone confirm this IB Bug? (From: Kevin Cathey <email@hidden>)

  • Prev by Date: Re: Localizing files
  • Next by Date: Unattended Xcode crashes in security framework?
  • Previous by thread: Re: Can anyone confirm this IB Bug?
  • Next by thread: Re: Can anyone confirm this IB Bug?
  • Index(es):
    • Date
    • Thread