Re: copy & isEqual nightmares
Re: copy & isEqual nightmares
- Subject: Re: copy & isEqual nightmares
- From: James Maxwell <email@hidden>
- Date: Sun, 12 Feb 2012 18:28:30 -0800
okay, that's getting to the root of the problem. Never knew about %p... yikes!
Good to know. Thanks!
J.
On 2012-02-12, at 6:22 PM, Graham Cox wrote:
>
> On 13/02/2012, at 12:54 PM, James Maxwell wrote:
>
>> But it does beg the question: is there an easy way to test the **identity** of an object? That is, to NSLog the identity of an object, to see if (and how) it's different to a copy that returns YES to isEqual and has the same hash?
>
>
> Look at its address?
>
> --Graham
>
>
------------------------------------------------------
James B. Maxwell
Composer/Researcher/PhD Candidate
_______________________________________________
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