• 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: Why can't I use any object as a key in a dictionary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why can't I use any object as a key in a dictionary?


  • Subject: Re: Why can't I use any object as a key in a dictionary?
  • From: Rick Mann <email@hidden>
  • Date: Mon, 1 Feb 2010 12:26:53 -0800

On Feb 1, 2010, at 08:00:45, Alexander Spohr wrote:

> This is a wrong assumption.
> Most classes are KVC compliant but you can not invent keys. You just use existing keys - properties and methods.

Ah! That's the key piece of information. Now I feel better that I didn't totally misunderstand what it meant to be KVC compliant.

Thanks!

--
Rick

_______________________________________________

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

References: 
 >Why can't I use any object as a key in a dictionary? (From: Rick Mann <email@hidden>)
 >Re: Why can't I use any object as a key in a dictionary? (From: Roland King <email@hidden>)
 >Re: Why can't I use any object as a key in a dictionary? (From: Roland King <email@hidden>)
 >Re: Why can't I use any object as a key in a dictionary? (From: Charles Jenkins <email@hidden>)
 >Re: Why can't I use any object as a key in a dictionary? (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: updating NSView on separate thread
  • Next by Date: Re: updating NSView on separate thread
  • Previous by thread: Re: Why can't I use any object as a key in a dictionary?
  • Next by thread: Re: Why can't I use any object as a key in a dictionary?
  • Index(es):
    • Date
    • Thread