Hi Jerry,

Can I just clarify what you mean about working around a bug on 10.5? I do need 
this to work on 10.5. 

FooSub is a subentity of Foo, and both have their classes defined, with 
FooSub's class being a subclass of Foo's class.

Thanks

Gideon

On 30/09/2010, at 3:49 AM, Jerry Krinock wrote:

> 
> On 2010 Sep 29, at 09:19, jeremy wrote:
> 
>> For a solution, rework your schema to subclass FooSub directly from 
>> NSManagedObject.
> 
> That might work.  If it doesn't,
> 
> On Sep 29, 2010, at 9:28 AM, Gideon King wrote:
> 
>> All entities are concrete … I would have thought it would be OK for the 
>> relationship to point to an instance of FooSub shouldn't it? After all, it 
>> is a subclass of Foo.
> 
> Not sure about that.  I'd have made it be a subentity.  Core Data knows more 
> about entities than classes.
> 
> (But if you do make a subentity, and do a migration someday, remember that 
> you need to work around a bug if you allow operation in Mac OS 10.5.)
> 
> 
_______________________________________________

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