Re: iTunes style custom class
Re: iTunes style custom class
- Subject: Re: iTunes style custom class
- From: Erik Ableson <email@hidden>
- Date: Wed, 28 Jul 2004 14:59:31 +0200
Cool - I think it was the semantics of how to pose the question while
searching that was blocking me.
Thanks !
Le 28 juil. 04, ` 14:35, Frank Midgley a icrit :
On Jul 28, 2004, at 7:04 AM, Erik Ableson wrote:
I've been poking around a bit at the various resources on the web,
and (maybe I'm not looking close enough) I haven't found a class that
handles a combination mini icon display and associated text like the
list box on the left pane of the iTunes interface.
Three options:
1. One column for the icon, one for the text.
2. One column containing an attributed string built from the icon and
the string using NSTextAttachment.
3. Use a custom cell class that can draw the icon and the string.
See the ImageAndTextCell class in
/Developer/Examples/AppKit/DragNDropOutlineView.
This comes up often so check the archives for sample code. Searching
for "text image cell" came up with 179 hits...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.