Re: Drag and drop to an NSTextView
Re: Drag and drop to an NSTextView
- Subject: Re: Drag and drop to an NSTextView
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 16 Aug 2006 10:45:50 -0400
Hi Simon - you were right to assume you should get this behavior "for
free," so something is going wrong in your app. I would make
absolutely certain that the text you're testing with doesn't have a
newline at the end - if you're expecting to see something, you might
not if the user has dragged in text that ends in a return.
Daniel
On Aug 16, 2006, at 3:27 AM, Simon Whitaker wrote:
I have an NSTextField in my app, which I (naively?) assumed I would
simply be able to drag and drop text clippings to "for free". This
doesn't appear to be the case. I wondered if anyone has a link to a
good primer on using simple drag and drop? Or more specifically,
I'm not sure what I need to put in my array arg to
registerForDraggedTypes in order to register for text clippings -
any pointers there would be appreciated.
All the best,
Simon
Simon Whitaker
mail - web - flickr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden