trouble with managedobjectcontext
trouble with managedobjectcontext
- Subject: trouble with managedobjectcontext
- From: Cornelius Jaeger <email@hidden>
- Date: Fri, 27 May 2005 11:58:58 +0200
hi all
i'm trying to implement an inspector style window.
i'm getting the app's current document via
- (NSDocument *)currentDocument
{
return [[NSDocumentController sharedDocumentController]
currentDocument];
}
from the InspectorWindowController
in the nib i have an nsarraycontroller whose managedObjectContext
try's to get the current documents moc thru the File's Owner
currentDocument.managedObjectContext binding.
i have to strange problems.
when i try to fetch or add items via the controller i get an
*** -[NSManagedObject copyWithZone:]: selector not recognized [self =
0x3efc40]
and when i change the current document, the currentDocument binding
isn't updated in the inspector panel.
any ideas?
thx
c
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden