• 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
Re: How to use a DataSource for NSLevelindicatorCell?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use a DataSource for NSLevelindicatorCell?


  • Subject: Re: How to use a DataSource for NSLevelindicatorCell?
  • From: "stephen joseph butler" <email@hidden>
  • Date: Sun, 30 Jul 2006 00:18:53 -0500

2006/7/29, Paul Schulze <email@hidden>:
May somebody please tell me, what I'm supposed to return in the "-
(id)tableView:(NSTableView *)aTableViewobjectValueForTableColumn:
(NSTableColumn *)aTableColumn row:(int)rowIndex" method of my table
view's data source, for a column consisting of NSLevelIndicatorCells?

An instance of NSNumber. For example, "return [NSNumber numberWithInt:myValue];"

I only dragged them into the table, but couldn't find any
documentation, showing how to set their value. Is there any
documentation on how to use them?

In Cocoa, any time you think a control should take a number (int, float, double, etc) but you have to return an id, you should wrap it in NSNumber. _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to use a DataSource for NSLevelindicatorCell? (From: Paul Schulze <email@hidden>)

  • Prev by Date: How to use a DataSource for NSLevelindicatorCell?
  • Next by Date: Re: A rant and a question...
  • Previous by thread: How to use a DataSource for NSLevelindicatorCell?
  • Next by thread: validateUserInterfaceItem: and chaining actions
  • Index(es):
    • Date
    • Thread