• 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: CoreData Indexing is it possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData Indexing is it possible?


  • Subject: Re: CoreData Indexing is it possible?
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 18 Sep 2007 08:59:56 -0400
  • Thread-topic: CoreData Indexing is it possible?

on 2007-09-18 7:03 AM, I. Savant at email@hidden wrote:

> On Sep 18, 2007, at 1:28 AM, Diederik Hoogenboom wrote:
>
>> AFAIK it is not mentioned in any public documentation. It has been
>> mentioned once or twice on this list though.
>> It is not really an API; it is more a "tag" in your model that will
>> trigger the index to be created when creating your store.
>>
>
>    That's not really the point, though. It's undocumented and starts
> with an underscore (Apple's convention for "private"), therefore it's
> subject to change and can break your application (or, in this case,
> *potentially* corrupt your users' documents) in future versions of OS X.
>
>    I would steer *well clear* of this approach without official
> support from Apple.

I implemented indexes a couple of years ago in a demo core data app. You can
download the project with source from
<http://www.quecheesoftware.com/downloads/WareroomDemo.html>.

Maintenance of indexes when deleting objects in this sample is very simple
and will not scale well.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


_______________________________________________

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: CoreData Indexing is it possible?
      • From: "Giovanni Donelli" <email@hidden>
References: 
 >Re: CoreData Indexing is it possible? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: What's the argument aTableView used for?
  • Next by Date: Re: CoreData Indexing is it possible?
  • Previous by thread: Re: CoreData Indexing is it possible?
  • Next by thread: Re: CoreData Indexing is it possible?
  • Index(es):
    • Date
    • Thread