• 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: IKImageBrowserView - redraw a cell with update data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IKImageBrowserView - redraw a cell with update data


  • Subject: Re: IKImageBrowserView - redraw a cell with update data
  • From: Thomas Goossens <email@hidden>
  • Date: Fri, 1 Feb 2008 11:17:50 +0100

Hi Anthony,

You have to invoke reloadData on the image-browser view. Thus the image browser will re-parse the datasource items of the visible cells.
Also for the modified images you have to either bump the "imageVersion" (an optional item-datasource method) or choose another "imageUID".
Otherwise the image browser will consider that those datasource items didn't change and so they don't need to be re-converted to new thumbnails.


-- Thomas.

On Feb 1, 2008, at 8:20 AM, Anthony Mittaz wrote:

Hello,

I would like to know if there is a way using the IKImageBrowserView to ask for one of the image cell or cell to redraw using an updated image. In my app I am using an IKImageBroserView and offer the possibility to the user to flag an image as no more available. So when the user is doing this I m updating the currently selected image but with a warning sign. This change isn't reflected before I restart the application. I m sure there is something I can do to directly reflect this change. I m using a IKImageBrowserNSDataRepresentationType.

Regards
_______________________________________________

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


  • Prev by Date: Re: set height of a specific row
  • Next by Date: Re: IKImageBrowserView enumerate items in clipView?
  • Previous by thread: Re: set height of a specific row
  • Next by thread: Re: IKImageBrowserView enumerate items in clipView?
  • Index(es):
    • Date
    • Thread