• 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: Issues with NSTextView Attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues with NSTextView Attachments


  • Subject: Re: Issues with NSTextView Attachments
  • From: Gordon Apple <email@hidden>
  • Date: Thu, 22 Aug 2013 18:40:52 -0500
  • Thread-topic: Issues with NSTextView Attachments

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" <email@hidden> 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 (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: Issues with NSTextView Attachments
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: Issues with NSTextView Attachments (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: handleGetURLEvent getting called after applicationDidFinishLaunching
  • Next by Date: Re: Fastest way to replace characters in string
  • Previous by thread: Re: Issues with NSTextView Attachments
  • Next by thread: Re: Issues with NSTextView Attachments
  • Index(es):
    • Date
    • Thread