Handling files dropped onto NSTextView
Handling files dropped onto NSTextView
- Subject: Handling files dropped onto NSTextView
- From: David Dunham <email@hidden>
- Date: Mon, 14 Aug 2006 13:23:07 -0700
My view returns YES for importsGraphics -- I do indeed want graphics
embedded in text. However, if you drag an arbitrary file in, you get
the icon of a file, but can't do anything with it. I'd like a bit of
control over this, but can't see anything that lets me determine what
happens at the time a file is dragged in. (I'd like to make a
different sort of attachment, I think, which is just a link rather
than the entire file.)
Am I just missing the delegate methods or method to subclass for
dealing with a dropped file? Overriding performDragOperation seems
way too low level.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden