Hi All, I've been recently working with Plists and I have a NSMatrix (2 radio buttons). I have set the integer or the row that was selected but I don't know how to assign that number to the NSMatrix as the row selected....
well this is what I have..
Code:
NSDictionary *myPlist;
NSMatrix *myMatrix;
NSNumber *selectedRow;
selectedRow = [NSNumber numberWithInt:[myMatrix selectedRow]];
[myPlist setObject:selectedRow forKey:@"SelectedRow"];
Now to retrive the value and assign it I'm totally stuck on... I tried to do something like this but it doesn't work..
Code:
[myMatrix selectCellWithTag:[prefs objectForKey:@"SelectedRow"]];
Can anyone please helpe me?