Re: CoreData Indexing is it possible?
Re: CoreData Indexing is it possible?
- Subject: Re: CoreData Indexing is it possible?
- From: "Giovanni Donelli" <email@hidden>
- Date: Tue, 18 Sep 2007 15:05:44 +0200
Hi Bill, thanks for the source code.
Before I dig into it, could you please tell me whether you used
the _NSCreateIndex call, or you implemented yourself a different mechanism
to index a db. If so what is it based on? Just a general idea, I will then
look up at the details on your webpage
Thank you very much,
Giovanni
On 9/18/07, Bill Cheeseman <email@hidden> wrote:
>
> 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:
>
> email@hidden
>
> This email sent to email@hidden
>
_______________________________________________
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