Re: Controller Binding
Re: Controller Binding
- Subject: Re: Controller Binding
- From: Brian Webster <email@hidden>
- Date: Sun, 23 Nov 2003 12:20:09 -0600
Bind the title of the button to your array controller, set the
controller key to "selection", and the model key path to the attribute
of the object you want to be the button's title when it's selected.
Below, enter the value in the "No selection placeholder" field that you
want to be displayed when there is no selection.
On Nov 23, 2003, at 11:31 AM, email@hidden wrote:
I have an NSArrayController Object that is the data source for an
NSTableView. I want a button to have one title if a row in the
NSTableView is selected and other title if nothing is selected. How
can I achieve this with the controller layer?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.