• 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: Efficient searching of an NSArray of NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Efficient searching of an NSArray of NSDictionary


  • Subject: Re: Efficient searching of an NSArray of NSDictionary
  • From: Oftenwrong Soong <email@hidden>
  • Date: Tue, 29 Sep 2009 09:53:12 -0700 (PDT)

Hi all,

IIUC, what you're saying is that NSPredicate is used as a filter. Is that correct? If so, is Predicate Editor (in IB) related in some way? And if so, what is it supposed to do? Honestly I could never understand the docs on this particular control. :)

Thanks,
Soong



On Sept 29, 2009 at  7:48:41 AM, I. Savant wrote:

>On Sep 29, 2009, at 10:38 AM, Pascal Harris wrote:
>
>> My current method is to iterate through the array, searching for a match for
<snip>
>
>  Two points:
>
>1 - The examples are found by searching in XCode's documentation window or the ADC web site.
>
>2 - You can use NSPredicate (without Core Data). Read up on it and craft the appropriate predicate, then (hint: search keywords to follow) filter the array using the predicate.




_______________________________________________

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: Efficient searching of an NSArray of NSDictionary
      • From: "I. Savant" <email@hidden>
    • Re: Efficient searching of an NSArray of NSDictionary
      • From: "I. Savant" <email@hidden>
References: 
 >Efficient searching of an NSArray of NSDictionary (From: Pascal Harris <email@hidden>)
 >Re: Efficient searching of an NSArray of NSDictionary (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: How to tell if NSArrayController has a selected CoreData instance?
  • Next by Date: Re: Efficient searching of an NSArray of NSDictionary
  • Previous by thread: Re: Efficient searching of an NSArray of NSDictionary
  • Next by thread: Re: Efficient searching of an NSArray of NSDictionary
  • Index(es):
    • Date
    • Thread