NSArrayController bindings
NSArrayController bindings
- Subject: NSArrayController bindings
- From: Philip Riggs <email@hidden>
- Date: Thu, 22 Jul 2004 12:08:31 -0600
I'm experimenting to understand the NSArrayContoller class. I
understand how to get the NSArrayController and its bindings in IB. But
I don't understand how to do the following.
If I have an NSTableView outlet in a window and a controller object
such as:
NSArrayController* database1;
NSArrayController* database2;
IBOutlet NSButton* toggleDatabases;
How do I set up the controller to bind database1 or database2 to the
tableview, depending on the database the user chooses?
Thanks
Philip Riggs
_______________________________________________
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.