Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Thanks I.S...

That did the trick... Seems I better find the doc you are talking about and read it...

Mike

On Dec 28, 2007, at 11:42 AM, I. Savant wrote:


-(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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Need Help with Bindings and Core Data... (From: Mike McCabe <email@hidden>)
 >Re: Need Help with Bindings and Core Data... (From: "I. Savant" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.