• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
how to set the value of NSLevelIndicatorCell in tableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to set the value of NSLevelIndicatorCell in tableView


  • Subject: how to set the value of NSLevelIndicatorCell in tableView
  • From: cocoa-dev <email@hidden>
  • Date: Fri, 3 Sep 2010 09:14:11 +0800 (CST)

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: how to set the value of NSLevelIndicatorCell in tableView
      • From: Dave DeLong <email@hidden>
  • Prev by Date: Re: Core Data fetch performance, design pattern sought
  • Next by Date: Re: how to set the value of NSLevelIndicatorCell in tableView
  • Previous by thread: Re: UIView animation
  • Next by thread: Re: how to set the value of NSLevelIndicatorCell in tableView
  • Index(es):
    • Date
    • Thread