Re: Bindings problem...
Re: Bindings problem...
- Subject: Re: Bindings problem...
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 18 Dec 2004 01:49:57 -0800
On Dec 18, 2004, at 1:32 AM, Steven Kramer wrote:
You probably need only one controller. Bind everything else using
keypaths. So assuming File's Owner is the document, and the document
has a member or getter NSArray* points
you should bind the tablecolumns to
[File's Owner].arrangedObjects.x
This is wrong.
You should typically bind table columns to:
[An Array Controller].arrangedObjects.attributeName
The array controller content is usually set to the array in File's
Owner -- in this example it would be [File's Owner].points.
mmalc
_______________________________________________
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