Re: IKImageBrowser drag reordering question/problem
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