Hi All,
I am trying a simple application where I have a mutable array of mutable dictionaries, such as -
In IB I created a table view with NSButtonCell (check box).
I was able to show checkboxes state (checked or unchecked), using following table column bindings:
In this case it shows an array of checkboxes with title - "Check".
Can anyone suggest me some way to achieve this?
Thanks
I am trying a simple application where I have a mutable array of mutable dictionaries, such as -
Code:
NSMutableDictionary *sample6 = [[NSMutableDictionary alloc] initWithObjectsAndKeys:@"title6",@"title",[NSNumber numberWithBool:NO],@"state", nil];
In IB I created a table view with NSButtonCell (check box).
I was able to show checkboxes state (checked or unchecked), using following table column bindings:
Code:
Value - ArrayController.arrangedObjects.state
In this case it shows an array of checkboxes with title - "Check".
Now my aim is to show checkboxes title using bindings, such that it gets value from same mutable dictionary from which it is getting its state.
Can anyone suggest me some way to achieve this?
Thanks