• 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: Searching array with block
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching array with block


  • Subject: Re: Searching array with block
  • From: Seth Willits <email@hidden>
  • Date: Sun, 11 Nov 2012 20:34:29 -0800

On Nov 11, 2012, at 4:58 PM, Erik Stainsby wrote:

>> Perhaps "matches" should really be an array-valued simple property as this code suggests, but it's far more usual to have an indexed property backed by an array variable.
>
> Are you saying hereby that I ought to be building an indexSet rather than duplicating the objects? and publishing the indexSet as perhaps - selectionIndexes  ?

Yup. And -selection can be a read-only KVO-able array if you still need it etc.


--
Seth Willits





_______________________________________________

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: 
 >Searching array with block (From: Erik Stainsby <email@hidden>)
 >Re: Searching array with block (From: Quincey Morris <email@hidden>)
 >Re: Searching array with block (From: Erik Stainsby <email@hidden>)

  • Prev by Date: Re: Searching array with block
  • Next by Date: Re: Core Data fetch performance
  • Previous by thread: Re: Searching array with block
  • Next by thread: Re: Searching array with block
  • Index(es):
    • Date
    • Thread