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

receiving dragged promise file


  • Subject: receiving dragged promise file
  • From: olivier <email@hidden>
  • Date: Thu, 6 Feb 2003 10:54:39 -0600

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.

  • Follow-Ups:
    • Re: receiving dragged promise file
      • From: olivier <email@hidden>
  • Prev by Date: Path passing by given points
  • Next by Date: Re: Action based undo or snapshot based undo? Summary!
  • Previous by thread: Path passing by given points
  • Next by thread: Re: receiving dragged promise file
  • Index(es):
    • Date
    • Thread