Re: Custom TableCell
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