> 
>> Since the array controller's "object controller" can be set to a class or to 
>> an entity but not both, I don't see how managed and unmanaged data can be 
>> mixed. 
> 
> The short answer is: "Just do it".  I do it all the time.  As long as the 
> object is KVC compliant, it will work.
> 
> The long answer: From what I can tell, the only time that entity/class mode 
> jazz matters is when you add new objects.  A managed object with regular 
> instance variables and/or derived properties is still a managed object.  
> Therefore, you should continue to use Entity mode.
> 
> All that the array controller cares about is KVC compliance.  You're not 
> mixing anything.  You're not even doing anything extra-ordinary.

OK, I'll take your word for it that it works. That is what I wanted to know, is 
it possible. I had tried subclassing NSManagedObject and putting regular 
instance variables in as you you indicated, but I get a similar error with the 
regular instance bindings when both the core data attributes and regular 
instances are bound. Something about not being able to get a Boolean from a 
class for the checkbox column. For a regular instance NSString the actual 
string doesn't show, but some sort of a descriptor for it is displayed instead. 

I'll dig at it some more, must have something not right. But now I know it is 
not wasted effort._______________________________________________

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