Re: Can anyone confirm this IB Bug?
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.
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