Re: Finding managed objects by URI representation
Re: Finding managed objects by URI representation
- Subject: Re: Finding managed objects by URI representation
- From: "Sean McBride" <email@hidden>
- Date: Mon, 5 Apr 2010 20:00:02 -0400
- Organization: Rogue Research Inc.
On Sun, 4 Apr 2010 23:14:20 +1000, Gideon King said:
>I have some queries that used to look up objects based on an elementID
>attribute, which used to be my unique identifier for objects, created
>when the objects were inserted or loaded.
I use this pattern also.
>I am now moving away from that
>and using the standard managed object IDs and reference objects.
Why? All the reasons you and Ben have been discussing is exactly why I
find it much easier to just have my own unique identifier. The
downsides are: 1) takes a little more space in the store (and on disk
and in RAM) 2) is slower to fetch against vs using the permanent
NSManagedObjectID. I'm curious why you are switching. I have thought
about doing the same, but it just seems like way more work for little benefit.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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