I guess the operative word here is ³custom². So how does NSTextView handle attachments which are not custom, because it does? Why not RTFD? I thought RTF didn¹t handle attachments.
So, it looks like I need to archive the attributed string segment as a custom pboard type, in addition to the normal RTF, and prioritize that. In my (internal) storage, I generally just archive the attributed string. On 8/22/13 2:02 PM, "glenn andreas" <gandr...@me.com> wrote: > When NSTextView puts rich content on a pasteboard (for copy/paste or > drag/drop), it converts the text to RTF. RTF has no concept of custom text > attachment cells, so they get dropped. > > You'll need to add your own custom data type that preserves that content (such > using an archive) > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com