• 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: TableView and Icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TableView and Icons


  • Subject: Re: TableView and Icons
  • From: Ryan Britton <email@hidden>
  • Date: Thu, 20 Oct 2005 13:02:38 -0700

Take a look at the EnhancedDataBurn example in the DiscRecording stuff. It has a custom NSCell subclass that displays a name and an icon. You should be able to adapt this fairly easily to what you need.

The best performance I've managed to get with something like this is by lazily loading the icons and caching them once loaded.


On Oct 20, 2005, at 12:53 PM, Matthew Binkowski wrote:

I'm looking for the actual icon of the file, not a generic one. I already came across that link too. ;-)

Matt

On Oct 20, 2005, at 3:19 PM, Robert Cerny wrote:


Hm,
I'm not sure if you are in need of generic icons or real thumbnails. If the latter is truth, check iconfamily at <http:// homepage.mac.com/troy_stephens/software/objects/IconFamily/>


HTH
R.

On 20.10.2005, at 20:58, Matthew Binkowski wrote:



I've been reading through the archives and everyone says that it's so slow to the point of being almost unusable in an app with alot of images.

Matt

On Oct 20, 2005, at 2:08 PM, j o a r wrote:




On 20 okt 2005, at 19.56, Matthew Binkowski wrote:




I've been searching around and can't seem to catch a link via google or apple developer site on this one. I have a view that needs to display the actual icons of a file, not the contents of the file themselves. Kinda like how Pixadex or Iconbox have a tableview of rows and rows of icons. Any ideas?




How about:

    -[NSWorkspace iconForFile:]

Check the list archives for more info.

j o a r







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >TableView and Icons (From: Matthew Binkowski <email@hidden>)
 >Re: TableView and Icons (From: j o a r <email@hidden>)
 >Re: TableView and Icons (From: Matthew Binkowski <email@hidden>)
 >Re: TableView and Icons (From: Robert Cerny <email@hidden>)
 >Re: TableView and Icons (From: Matthew Binkowski <email@hidden>)

  • Prev by Date: Re: TableView and Icons
  • Next by Date: undo NSTableView cell text editting in sheets
  • Previous by thread: Re: TableView and Icons
  • Next by thread: eject key notification?
  • Index(es):
    • Date
    • Thread