Re: NSTextView.preferredPasteboardTypeFromArray
Re: NSTextView.preferredPasteboardTypeFromArray
- Subject: Re: NSTextView.preferredPasteboardTypeFromArray
- From: Douglas Davidson <email@hidden>
- Date: Wed, 28 Jan 2009 15:36:06 -0800
On Jan 26, 2009, at 8:36 PM, Chris Idou wrote:
This method's list of allowedTypes when I do the drag doesn't
include my TokenPboardType. Now if I return TokenPboardType anyway,
it seems to work. my readSelectionFromPasteboard gets called with
TokenPboardType and it all seems to work. But it feels like I'm
doing the wrong thing somehow, since from the doco it sounds like
you shouldn't return a type that is not in the allowedTypes.
Try overriding -acceptableDragTypes as well as -readablePasteboardTypes.
Douglas Davidson
_______________________________________________
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