• 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: Why is an IKImageBrowser method not firing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Why is an IKImageBrowser method not firing? (From: David Delmonte <email@hidden>)

  • Prev by Date: Simple NSDatePicker query
  • Next by Date: Re: Simple NSDatePicker query
  • Previous by thread: Why is an IKImageBrowser method not firing?
  • Next by thread: Re: "No options" constant
  • Index(es):
    • Date
    • Thread