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

NSTableView and NSImage


  • Subject: NSTableView and NSImage
  • From: Ian Reid <email@hidden>
  • Date: Fri, 26 Apr 2002 12:57:27 -0700

Hello,

I am in the initial stages of developing an application, part of which requires displaying
a number of images in a scrollable window, much in the same way as iPhoto, or iMovie.

My experience with Cocoa is somewhat limited, so please bear with me :

My initial choice is to use NSTableView. I have written a very simple application that has
delegated the "willDisplayCell" method. In the delegation, I call the "setImage" method
of the cell. Nothing appears in the table view.

I assume I am doing something wrong here, but I have no idea what. Is this the correct
approach, or should I be doing something else ?

In the archives I have noticed a posting referring to NSImage and NSTableView, that
suggests set the data cell of each column to be an NSImageCell.
According to the documentation, calling the setImage method should automatically
convert the cell to the appropriate type.

Any advice, suggestions or explanations would be gratefully received.

Thanks in advance,

Ian
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView and NSImage
      • From: Ondra Cada <email@hidden>
    • Re: NSTableView and NSImage
      • From: email@hidden
  • Prev by Date: Re: References to classess
  • Next by Date: Re: Wait / Busy Cursor
  • Previous by thread: Re: Cocoa:NSTableView and NSImage
  • Next by thread: Re: NSTableView and NSImage
  • Index(es):
    • Date
    • Thread