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
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=6quZRBs/Z5wUFMqt0lkzWerbKEWQX08ZSzQSxvBtSzE=; b=W2H6NEQl2Ud4DhpG8+nnOwxH6iminSedOsUTit1ar0HyZ0f45iko5qFwjaIjHzalC2tUdRVWQmUmLnk450c/wzyEu4VfZPLsrvaupgFMpcCA7a2VIAMYn07nwV+5+eFLFqw04iHMCSnMGBsem53z5pnut5fojcDzb9G6nDM4YfU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=qS/ozbC0jc8xKV1i5rxPEi9f5SYZODH+NG9cLgMnW3LiLpY9XCgDhcSck4aAhrS0JAG9n0vvoAsJi2or2vWdbf/8n5bxDFuJxj3jyMFWDG2pd+Kk/WD3RIxcfzhYcz/+uRY6iwL0dj3uMVhucix1sisOL8KCSuEHWBH1ROG5xO0=
-(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
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.