Re: NSTableView and NSImageView issues
Re: NSTableView and NSImageView issues
- Subject: Re: NSTableView and NSImageView issues
- From: "Clint Shryock" <email@hidden>
- Date: Tue, 20 May 2008 15:42:45 -0500
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@hidden>
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@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden