• 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: Finding managed objects by URI representation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Finding managed objects by URI representation
      • From: Gideon King <email@hidden>
References: 
 >Finding managed objects by URI representation (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Multi Window cocoa application
  • Next by Date: Re: How do I compare two NSDates using NSPredicate & Core Data
  • Previous by thread: Finding managed objects by URI representation
  • Next by thread: Re: Finding managed objects by URI representation
  • Index(es):
    • Date
    • Thread