• 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
NSTableView / NSMatrix+NSScrollView -- What should I use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView / NSMatrix+NSScrollView -- What should I use?


  • Subject: NSTableView / NSMatrix+NSScrollView -- What should I use?
  • From: Michael Becker <email@hidden>
  • Date: Mon, 3 Nov 2003 00:20:10 +0100

Hi!

I need to create an Application with the following functionalities:

The User can drag&drop image files onto the application window and then these are displayed in a kind of list as thumbnails with "edit" and "delete" buttons and a short info text about the image format next to the thumbnails.
I can pretty much enable NSTableView to do what I want, I am not yet too familiar with subclassing NSCell to display (and get to work) 2 buttons in one column, but I hope I will learn that quickly enough.

Given the somewhat nonstandard cell formatting, I wonder whether it would be more reasonable to create an NSMatrix + NSScrollView? I assume though, that I should go with the NSTableView, what is your suggestion?

My second question concers the thumbnails. As of right now, I have an array with the image paths and simply read out the images into the NSImageCell, so they are resized automatically. It seems though, that this produces a lot of work for the processor/memory. I cannot scroll the images as quickly as e.g. in Preview.app, as my computer seems to have a lot of work dealing with the (full-size?) images and rescaling them (everytime?).

Since my application is supposed to go with maybe more than 100 jpgs, this behavior is not wanted. What would you suggest to do? There has to be a more efficient way to deal with thumnails...

Sorry for so much text and thanks in advance :-)

Bye,
Michael
_______________________________________________
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.

  • Prev by Date: Resizing NSImage in 10.3?
  • Next by Date: NSTableView performance on Jaguar
  • Previous by thread: Resizing NSImage in 10.3?
  • Next by thread: NSTableView performance on Jaguar
  • Index(es):
    • Date
    • Thread