• 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: iTunes style custom class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >iTunes style custom class (From: Erik Ableson <email@hidden>)
 >Re: iTunes style custom class (From: Frank Midgley <email@hidden>)

  • Prev by Date: Re: Bug database or known issues
  • Next by Date: Re: Default button surrounded by black square for Panther, not Jaguar (RESOLVED)
  • Previous by thread: Re: iTunes style custom class
  • Next by thread: Re: iTunes style custom class
  • Index(es):
    • Date
    • Thread