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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/tgoossens%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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

This email sent to [EMAIL PROTECTED]

Reply via email to