• 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: IKImageBrowser drag reordering question/problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IKImageBrowser drag reordering question/problem


  • Subject: Re: IKImageBrowser drag reordering question/problem
  • From: thomas goossens <email@hidden>
  • Date: Wed, 20 Aug 2008 01:22:57 +0200

Sorry, mail trashed the content of my email. re-sending it.


Hi c.

When using IKImageBrowserPathRepresentationType or IKImageBrowserNSURLRepresentationType, ImageKit automatically fill the pasteboard for you for convenience when you start a drag.
If you use another representation you will have to fill the pasteboard yourself when the delegate method
- (NSUInteger) imageBrowser:(IKImageBrowserView *) aBrowser writeItemsAtIndexes:(NSIndexSet *) itemIndexes toPasteboard: (NSPasteboard *)pasteboard; is invoked.


-- Thomas.


On Aug 2, 2008, at 7:20 AM, c. mendoza wrote:

Hey All,

I've successfully managed to use an IKImageBrowser in an app I am developing. My IKImageBrowserItem imageRepresentationType is IKImageBrowserPathRepresentationType, and everything works as advertised: I can drag-reorder and delete the images. However, when I try to use IKImageBrowserNSImageRepresentationType, the images are displayed and I can delete them, but I can no longer drag-reorder them. This is a real pain, because it means that I have to have all of the images I am using in the filesystem, instead of just in memory as NSImages. Now the question, is this a "feature" or a bug? I should add that I am newbie at Cocoa, and I am very impressed with it so far.

thanks,

c.


_______________________________________________

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: 
 >IKImageBrowser drag reordering question/problem (From: "c. mendoza" <email@hidden>)

  • Prev by Date: Re: Calling an object from a C function
  • Next by Date: Re: Calling an object from a C function
  • Previous by thread: Re: IKImageBrowser drag reordering question/problem
  • Next by thread: Use the CATransition to switch one layer from another layer with Core Image effects?
  • Index(es):
    • Date
    • Thread