• 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: receiving dragged promise file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >receiving dragged promise file (From: olivier <email@hidden>)

  • Prev by Date: Re: Internet Config Example under Cocoa
  • Next by Date: NSPoints in an NSMutableArray
  • Previous by thread: receiving dragged promise file
  • Next by thread: How to catch control-click in table view?
  • Index(es):
    • Date
    • Thread