On 2013 Aug 14, at 20:46, Keary Suska <[email protected]> wrote:

> A cleaner approach, IMHO, is to have a holder entity whose sole attribute is 
> a to-one relationship to your other entity. Think of it as a singleton that 
> always exist and maintains the particular managed object.

Indeed Keary's idea is much better, and furthermore you may well already such 
an existing "singleton" entity nearby in that data model, which would be the 
logical place for this to-one relationship.  Just add this relationship to that 
existing "singleton" entity.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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

This email sent to [email protected]

Reply via email to