Re: Core Data application types
Re: Core Data application types
- Subject: Re: Core Data application types
- From: MH <email@hidden>
- Date: Fri, 18 May 2007 20:22:52 +0100
Yes, I realised the mistake about NSApplication being set as the Class
for the controller and changed it to NSArray, and bound it to the
delegate.managedObjectContext, and set its content array to something
like: NSArray *array = [delegatesNSArrayController arrangedObjects];
This much seems to be working, although there are notifications to
consider, as each document will need to know about the changes to this
array and its contents.
I'm beginning to suspect that having document instances access a
library, and allowing those instances to modify the library is a
little counter-intuitive though.
Thanks for the help guys. I need to think about this one a bit more.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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