I drag NSLevelIndicatorCell to tableView,and use it like this:
-(IBAction)levelAction:(id)sender
{
NSLog(@"Level clicked: %ld", [senderintValue]);
[levelCellsetIntValue:[senderintValue]];
[levelCellsetWarningValue:[senderintValue]];
}
- (void)tableView:(NSTableView *)aTableView
setObjectValue:(id)anObject
forTableColumn:(NSTableColumn *)aTableColumn
row:(NSInteger)rowIndex{
if([[aTableColumnidentifier]isEqualToString:@"evaluate"]){
[levelCellsetAction:@selector(levelAction:)];
}
}
But i cannot change it in the tableView,it means that when i change it it
displays but then it has nothing.How
can i set the value ?any suggestion?
_______________________________________________
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