Re: receiving dragged promise file
Re: receiving dragged promise file
- Subject: Re: receiving dragged promise file
- From: olivier <email@hidden>
- Date: Thu, 6 Feb 2003 12:04:55 -0600
Solved my own problem, i needed to ask for the
namesOfPromisedFilesDroppedAtDestination to the dragging info directly,
not to the source...
Olivier
On Thursday, February 6, 2003, at 10:54 AM, olivier wrote:
I'm trying to receive promise file within an oulineView but it does not
seem to work has anybody already done something like that and can tell
me that indeed it works.
In my accept drop i do:
NSArray *fileNames;
fileNames = [[info draggingSource]
namesOfPromisedFilesDroppedAtDestination: [NSURL fileURLWithPath:
NSTemporaryDirectory()]];
but if the thing comes from another app i do not get anything (nil)
if it comes from my app i get:
[NSFilePromiseDragSource namesOfPromisedFilesDroppedAtDestination:]:
selector not recognized
i know i can drag promise file because dragging those to the Finder
works.
Any idea, have i missed somthing?
Olivier
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.