Re: Trouble with dragging and file promises
Re: Trouble with dragging and file promises
- Subject: Re: Trouble with dragging and file promises
- From: Dave DeLong <email@hidden>
- Date: Thu, 07 Jan 2010 14:34:28 -0700
If I just do:
- (BOOL)browser:(NSBrowser *)browser writeRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column toPasteboard:(NSPasteboard *)pasteboard {
[pasteboard declareTypes:[NSArray arrayWithObject:NSFilesPromisePboardType] owner:self];
return YES;
}
Then when I drag, I get a message that says:
2010-01-07 14:28:40.419 FilePromiseTest[70035:a0f] Looked for HFSPromises on the pasteboard, but found none.
And the promised files delegate method still isn't getting called. (The entirety of my source code is pasted here: http://pastie.org/770718 )
Dave
On Jan 7, 2010, at 2:27 PM, Nick Zitzmann wrote:
> Did you try the pasteboard type "NSFilesPromisePboardType", not attaching any data, and implementing the promised files delegate method? That should work, according to the documentation...
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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