Re: Core Data: right way to gather all elements of a to-many relationship?
Re: Core Data: right way to gather all elements of a to-many relationship?
- Subject: Re: Core Data: right way to gather all elements of a to-many relationship?
- From: "I. Savant" <email@hidden>
- Date: Wed, 11 Feb 2009 17:23:59 -0500
On Feb 11, 2009, at 5:09 PM, Luke Evans wrote:
Anyway, like you, I can't see how having a read-only flag on the
wrapping property in my NSManagedObject subclass is going to affect
how a to-many relationship is internally represented within
NSManagedObject. Moreover, I reset the declaration of the property
to the unquestionably
canonical "@property(retain) NSSet *elements" and the problem still
manifests. The "retain" appears to be required for use with GC as
the default is "assign"
which will cause warnings.
Hmmm ... I do not have an answer for this. If nobody else can offer
any insight, I'd file a bug. In fact, I'd file it anyway because this
random substitution should not happen.
--
I.S.
_______________________________________________
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