• 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: copy & isEqual nightmares
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy & isEqual nightmares


  • Subject: Re: copy & isEqual nightmares
  • From: Graham Cox <email@hidden>
  • Date: Mon, 13 Feb 2012 13:22:55 +1100

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


_______________________________________________

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


  • Follow-Ups:
    • Re: copy & isEqual nightmares
      • From: James Maxwell <email@hidden>
References: 
 >copy & isEqual nightmares (From: James Maxwell <email@hidden>)
 >Re: copy & isEqual nightmares (From: James Maxwell <email@hidden>)
 >Re: copy & isEqual nightmares (From: Ken Thomases <email@hidden>)
 >Re: copy & isEqual nightmares (From: James Maxwell <email@hidden>)

  • Prev by Date: Re: copy & isEqual nightmares
  • Next by Date: Re: copy & isEqual nightmares
  • Previous by thread: Re: copy & isEqual nightmares
  • Next by thread: Re: copy & isEqual nightmares
  • Index(es):
    • Date
    • Thread