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                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to