• 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
Re: how to override image cell display in IKImageBroserView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >how to override image cell display in IKImageBroserView? (From: "Wayne Shao" <email@hidden>)

  • Prev by Date: Re: check if app opens with a document on startup
  • Next by Date: Re: How many times will a sub-classed NSView be instantiated in a simple Cocoa App?
  • Previous by thread: how to override image cell display in IKImageBroserView?
  • Next by thread: How to tell if iTunes is running.
  • Index(es):
    • Date
    • Thread