Re: Why is an IKImageBrowser method not firing?
Re: Why is an IKImageBrowser method not firing?
- Subject: Re: Why is an IKImageBrowser method not firing?
- From: Reinhard Segeler <email@hidden>
- Date: Mon, 17 Mar 2014 15:41:23 +0100
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 (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