• 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: Core Data search optimization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data search optimization


  • Subject: Re: Core Data search optimization
  • From: Jesse Armand <email@hidden>
  • Date: Tue, 31 Aug 2010 00:40:32 +0700

Never mind, I found the solution in DerivedProperty example.


On Mon, Aug 30, 2010 at 6:43 PM, Jesse Armand <email@hidden> wrote:
> Hello,
>
> I can't seem to find any discussion about this, but I have this
> question after I watched session 137 of WWDC about core data
> optimization.
>
> So, Melissa Turner advise to use <= and < instead of BEGINSWITH, but
> how do I do that with predicate substitution variables or formatted
> predicate?
>
> Let's use this example:
> @"franc" <= searchName AND searchName < @"frand"
>
> What if @"franc" is the search keyword variable that is obtained from
> the search bar text input?
> How do I increment the suffix or the overall NSString variable?
>
_______________________________________________

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: 
 >Core Data search optimization (From: Jesse Armand <email@hidden>)

  • Prev by Date: Re: Style question
  • Next by Date: Resizing and NSImage to a new NSImage but keeping all metadata
  • Previous by thread: Core Data search optimization
  • Next by thread: Binding an objects "Enabled" to a button in IB
  • Index(es):
    • Date
    • Thread