1. Is the method really called? Log it...
2. Do you update the data source?
3. Is the data source reloaded after updating?

-- Reinhard     

Am 13.03.2014 um 22:07 schrieb David Delmonte:

> Hi all, I have a project that includes an NSSheet that displays images. The 
> data source methods to build the sheet are working fine. These are:
> 
> - (NSUInteger)numberOfItemsInImageBrowser:(IKImageBrowserView *)view;
> - (id)imageBrowser:(IKImageBrowserView *) view itemAtIndex:(NSUInteger) index;
> 
> The images are loaded in a mutable array, and show and scale fine.
> 
> The method to remove an image is not firing:
> 
> - (void)imageBrowser:(IKImageBrowserView*)view removeItemsAtIndexes: 
> (NSIndexSet*)index;
> 
> 
> I've been scratching my head and now have splinters. Is there a way to access 
> a selected item in the mutable array? Why isn't the method firing?
> 
> Does anything come to mind that I can check? 
> 
> 
> Many thanks
> 
> David
> _______________________________________________
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/macmeideln%40googlemail.com
> 
> This email sent to macmeid...@googlemail.com


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to