• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
trouble with managedobjectcontext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Cocoa bindings one- or bi-directional
  • Next by Date: Re: Cocoa bindings one- or bi-directional
  • Previous by thread: Re: Document Types
  • Next by thread: Thanks for the advice
  • Index(es):
    • Date
    • Thread