• 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: Using Set/Array KVC operators
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Set/Array KVC operators


  • Subject: Re: Using Set/Array KVC operators
  • From: Sam Krishna <email@hidden>
  • Date: Sat, 20 Mar 2010 14:41:16 -0400

Hi Ken,

Thanks for your lengthy response to my question. I suspected that was the case, but I wanted to see if the Community knew something I didn't. Thank you for confirming my understanding of the KVC Set/Array operators.

On Mar 19, 2010, at 4:22 AM, Ken Thomases wrote:

> Those operators don't work that way.  That is, "distinct"-ness is computed on the basis of the whole object, not by comparing some selected property of the object.  Therefore, unless you can guarantee that two dictionaries with equivalent "email" properties are also equivalent in whole, that can't work.

Namaste Playfully,

Sam
-----
If he listens in faith,
finding no fault, a man is free
and will attain the cherished worlds
of those who act in virtue.

_______________________________________________

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: 
 >Using Set/Array KVC operators (From: Sam Krishna <email@hidden>)
 >Re: Using Set/Array KVC operators (From: Ken Thomases <email@hidden>)

  • Prev by Date: Core Data: fetching a subset of attributes/columns
  • Next by Date: about 3D sound
  • Previous by thread: Re: Using Set/Array KVC operators
  • Next by thread: Weird release problem on iPhone code
  • Index(es):
    • Date
    • Thread