• 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: Custom TableCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom TableCell


  • Subject: Re: Custom TableCell
  • From: Adam P Jenkins <email@hidden>
  • Date: Tue, 19 Feb 2008 16:36:56 -0500

See the documentation for the setDataCell: method of NSTableColumn. To display an image in a cell you can use an NSImageCell. You can write your own NSCell subclass to arbitrary drawing in a cell. Also you can implement a delegate for a NSTableView which can decide which NSCell object to use for drawing each individual cell. See the Table View Programming Guide for more info:

http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/TableView.html

On Feb 19, 2008, at 12:20 AM, Meik Schuetz wrote:

Dear list,
I confess that I am a new with some C#/ WPF background, who is currently a
bit overwhelmed and anxious learning Cocoa and Objective-C. Today I already
received Aaron Hillegass book which is of great help in understanding the
basics and getting more comfortable with this new development environment.


I´d like to ask you guys for some direction, some tutorial or anything else
you might could be helpful, for customizing the appearance of a table cell.
I´d like to know how to have a table cell having an image and two lines of
text (e.g. Like in the list of installed printers in OSX).


Thanks
Best regards
Meik Schuetz

_______________________________________________

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

_______________________________________________

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


References: 
 >Custom TableCell (From: Meik Schuetz <email@hidden>)

  • Prev by Date: Re: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
  • Next by Date: Re: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
  • Previous by thread: Re: Custom TableCell
  • Next by thread: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
  • Index(es):
    • Date
    • Thread