Re: copy & isEqual nightmares
Re: copy & isEqual nightmares
- Subject: Re: copy & isEqual nightmares
- From: Uli Kusterer <email@hidden>
- Date: Mon, 13 Feb 2012 10:21:26 +0100
On 13.02.2012, at 02:54, James Maxwell wrote:
> NSLog(@"%@", [obj hash])
I hope this is a typo. %@ expects an object, while -hash returns an integer. If you're lucky, this will crash, or just output garbage. Your compiler should be warning you about that line.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
_______________________________________________
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