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 <[EMAIL PROTECTED]>
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 (Cocoa-dev@lists.apple.com)
>
> 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/cts3e1%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to