Skip navigation.
 
mlRe: NSTableView and NSImageView issues
FROM : Clint Shryock
DATE : Tue May 20 22:42:45 2008

If you can find the image in your "database" you can tell your image view to
draw that image, using NSImageView's "setImage:" method.you'll need an
outlet to the image view where-ever you're capturing the index and matching
it to your database
+cts

On Tue, May 20, 2008 at 5:53 AM, Damien Cooke <damien.<email_removed>>
wrote:

> I am a newbe to Cocoa so please be gentle, I have a NSTableView that
> displays a list of books when clicked I capture the index and determine
> which book has been selected, I have the cover images in a database.  To the
> right of the NSTableView I have an NSImageView, how do I tell the
> NSImageView to display a new picture and give it enough info so it can look
> up the image it is supposed to be displaying ie a book id?
>
> Thanks so much
> Damien
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlNSTableView and NSImageView issues Damien Cooke May 20, 12:53
mlNSTableView and NSImageView issues Peter Hudson May 20, 13:37
mlRe: NSTableView and NSImageView issues Clint Shryock May 20, 22:42