• 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: NSDictionary objectForKey and non-standard key classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary objectForKey and non-standard key classes


  • Subject: Re: NSDictionary objectForKey and non-standard key classes
  • From: Bob Peterson <email@hidden>
  • Date: Tue, 28 Aug 2001 10:32:41 -0400

I just tried it. The compare: message is never sent to the key object. So this isn't the way.

On Tuesday, August 28, 2001, at 09:26 , email@hidden wrote:
Try overriding '-(NSComparisonResult)compare:(id)value' as well. I recall noticing something like this once as well.


References: 
 >Re: NSDictionary objectForKey and non-standard key classes (From: email@hidden)

  • Prev by Date: Re: Dynamic Services?
  • Next by Date: Re: Learning to program Cocoa
  • Previous by thread: Re: NSDictionary objectForKey and non-standard key classes
  • Next by thread: Re: NSDictionary objectForKey and non-standard key classes
  • Index(es):
    • Date
    • Thread