Hi All,
I am tearing my hair out here trying my hardest in populating a NSTableView.
I have taken a look on the net but it has confused me no end and I need help bad. All I want to do is populate only.
I have created a dictionary in the header:
In the 'm' file I have:
I have declared the view like:
So in the 'm' file how do I get the Dictionary into the TableView ??
Pete
I am tearing my hair out here trying my hardest in populating a NSTableView.
I have taken a look on the net but it has confused me no end and I need help bad. All I want to do is populate only.
I have created a dictionary in the header:
Code:
NSMutableDictionary *unitOfMeassure;
Code:
self.unitOfMeassure = [[NSMutableDictionary alloc] initWithObjectsAndKeys:
@"centimeter/sec^2(cm/s^2)",kUnit,
@"foot/sec^2 (ft/s^2)",kUnit,
@"free fall (g)",kUnit,
@"meter/sec^2 (m/s^2)", kUnit
@"mile/hour second (mi/(h:s))", kUnit,
@"millimeter/sec^2 (mm/s^2)", kUnit,
nil];
I have declared the view like:
Code:
IBOutlet NSTableView *inputUnit;
So in the 'm' file how do I get the Dictionary into the TableView ??
Pete