• 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: Trouble with dragging and file promises
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Trouble with dragging and file promises
      • From: Nick Zitzmann <email@hidden>
References: 
 >Trouble with dragging and file promises (From: Dave DeLong <email@hidden>)
 >Re: Trouble with dragging and file promises (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Trouble with dragging and file promises
  • Next by Date: Re: Trouble with dragging and file promises
  • Previous by thread: Re: Trouble with dragging and file promises
  • Next by thread: Re: Trouble with dragging and file promises
  • Index(es):
    • Date
    • Thread