Cocoa Bindings Issue: Help Needed.
Cocoa Bindings Issue: Help Needed.
- Subject: Cocoa Bindings Issue: Help Needed.
- From: Chris Pavicich <email@hidden>
- Date: Sat, 1 May 2004 01:30:13 -0400
Hi List:
I am trying to put together a simple bindings based app, and I have
stumped myself. I am hoping that
someone can help out.
I have a model that looks like this:
MyController {
NSArray *configs;
Config *selectedConfig;
}
Config {
String *name;
NSMutableDictionary *configParameters;
}
I am trying to build a master-detail UI with:
* a popup button showing the name of each config
I have this working already, its being driven by an
NSArrayController. Any change to the selection in the popup gets
reflected
into the selectedConfig. I even managed to get it dynamically
updating some NSTextFields.
* an NSTableView showing the key/value pairs of the selectedConfig's
configParameters.
This I have having issues with. I've tried just about everything
that seems reasonable to me, but still no luck.
Gut feeling tells me that I probably need (at least) another
NSArrayController to handle the keys from the dictionary.
If anyone can point me in the right direction, or let me know where I
am going wrong, it would be greatly appreciated.
--CMP
_______________________________________________
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.