Hi,
my app has a NSMutableDictionary to which I had/remove/modify keys/
value pairs. The value is a custom NSObject class. I need to display
the key/value into a NSTableView , one key per line, four columns
because my custom object/value has four values I need to display.
I use (for the first time) a NSDictionaryController and bindings.
My app has an instance of NSDictionaryController and my
NSMutabledictionary.
I set the content of the NSDictionaryController to the
NSMutabledictionary (through IB)
when I do
NSLog(@"projectsController content = %@",[ [self projectsController]
content]);
I see the controller has the key/value pairs setup correctly
I set the columns in the table view to the instance of the
projectsController.arrangedObjects.value.hours
my custom value object has setter/getter, is KVC compliant for hours
(as far as I can tell).
Problem, is, the tableView does not display any data.
any clues ? I've googled and reviewed http://developer.apple.com/samplecode/DictionaryController/index.html
without success.
PS: In a similar applications, I succeeded to display an array of
values, but this time, I really need to stick with a mutable dictionary.
Louis Demers eng.
www.obzerv.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com