Re: Not documented: NSArray responds to -allObjects
Re: Not documented: NSArray responds to -allObjects
- Subject: Re: Not documented: NSArray responds to -allObjects
- From: Jens Alfke <email@hidden>
- Date: Thu, 24 Oct 2013 12:37:50 -0700
On Oct 24, 2013, at 10:35 AM, Sean McBride <email@hidden> wrote:
> You could also set OBJC_PRINT_REPLACED_METHODS=YES in the environment. That's how I originally discovered my firstObject NSArray category method was in conflict.
This is why I always put a namespace prefix on any category methods I add to system classes. (I believe that’s an official recommendation from Apple, too.)
—Jens
_______________________________________________
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