Re: Need help wrapping my head around bindings
Re: Need help wrapping my head around bindings
- Subject: Re: Need help wrapping my head around bindings
- From: mmalc crawford <email@hidden>
- Date: Wed, 19 Dec 2007 18:28:42 -0800
On Dec 11, 2007, at 7:07 PM, Cem Karan wrote:
What actual binding did you set -- 'contentArray'?
I bound it to 'myController', which is an Object that is an instance
of CFKcontroller. The model key path is 'self', although I have
also tried to attributes to include 'contents' in the Object
Controller block, and in that case I set the model key path to
'contents'. In each case, I have a termination exception; here is a
typical one:
It's not clear why you would have 'self' in the key path?
Compare your bindings with those in the Bookmarks example at <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
>.
Look at the 'Content Array' binding for the DNDArrayController in
MyDocument.nib (see also the array accessors implemented in
MyDocument.m).
mmalc
_______________________________________________
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