Re: how to override image cell display in IKImageBroserView?
Re: how to override image cell display in IKImageBroserView?
- Subject: Re: how to override image cell display in IKImageBroserView?
- From: Jens Alfke <email@hidden>
- Date: Sat, 24 May 2008 16:59:36 -0700
On 23 May '08, at 2:37 PM, Wayne Shao wrote:
I want to overlay a small icon at the corner of each images in my
browser
view. The purpose of this is to provide a visual indicator of
different
properties in my images, which is better than putting some text in
title/or
subtitle.
Is it possible without creating a new image representation for each
cell?
Not that I know of. IKImageBrowserView has very limited customization.
(You can look at /Developer/Examples/PubSub/NewMusic/ to see some
things I've done with this view.)
I once tried to subclass the view, override -drawRect:, and draw my
own content on top of the basic content, but this doesn't work
reliably. I think the problem is that the view uses an OpenGL surface
for some of its rendering, and this seems to end up on top of other
drawing calls, even if they were made later.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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