• 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
Re: Need Help with Bindings and Core Data...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need Help with Bindings and Core Data...


  • Subject: Re: Need Help with Bindings and Core Data...
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 28 Dec 2007 11:42:07 -0500


-(void)restoreControllerBinding {
[clientArrayController bind:@"contentObject" toObject:self withKeyPath:@"managedObjectContext" options:nil];
}

... it seems like this is your problem. Have you read what the "contentObject" binding is? From the docs:


"An NSArrayController that the NSArrayController treats as its content."

Perhaps you meant to bind the array controller's **managedObjectContext** to self's managedObjectContext?

--
I.S.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Need Help with Bindings and Core Data...
      • From: Mike McCabe <email@hidden>
References: 
 >Need Help with Bindings and Core Data... (From: Mike McCabe <email@hidden>)

  • Prev by Date: Need Help with Bindings and Core Data...
  • Next by Date: Status item using custom view not responding to clicks (Follow up)
  • Previous by thread: Need Help with Bindings and Core Data...
  • Next by thread: Re: Need Help with Bindings and Core Data...
  • Index(es):
    • Date
    • Thread