• 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: What is an id?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is an id?


  • Subject: Re: What is an id?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 22 May 2008 10:21:18 -0700


On 22 May '08, at 10:11 AM, j o a r wrote:

It expects you to return an object that will be used by the cells in your table view to display their respective value.

To be specific, the value you return is passed to the cell's - setObjectValue: method. So you should return a value that's appropriate for the type of cell in that column — for a text column that would be an NSString or NSAttributedString, for an image column an NSImage, for a checkbox or slider an NSNumber...


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: What is an id?
      • From: Scott Ribe <email@hidden>
References: 
 >What is an id? (From: "john darnell" <email@hidden>)
 >Re: What is an id? (From: j o a r <email@hidden>)

  • Prev by Date: Re: What is an id?
  • Next by Date: Re: Cocoa et al as HCI usability problem
  • Previous by thread: Re: What is an id?
  • Next by thread: Re: What is an id?
  • Index(es):
    • Date
    • Thread