• 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
Reading text attachments from pasteboard into NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading text attachments from pasteboard into NSTextView


  • Subject: Reading text attachments from pasteboard into NSTextView
  • From: Kai BrĂ¼ning <email@hidden>
  • Date: Wed, 23 Jan 2008 16:33:29 +0100

NSTextView seems to have broad support for copying text attachments to pasteboards in whatever custom format is desired:
- textView:writablePasteboardTypesForCell:atIndex: delegate method
- textView:writeCell:atIndex:toPasteboard:type: delegate method


But I can't find similar support for reading from a pasteboard. From what I have seen, the only method seems to be to put an attributed string with the text attachment(s) in it on the pastboard. While this is possible, I would rather like to convert some custom format into a text attachment the moment it is read from the pasteboard.

Do I overlook something?

Thank you
Kai
_______________________________________________

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: Reading text attachments from pasteboard into NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Responding To Screen Saver/Sleep Events
  • Next by Date: Re: FSPathCopyObjectAsync Help
  • Previous by thread: Re: Responding To Screen Saver/Sleep Events
  • Next by thread: Re: Reading text attachments from pasteboard into NSTextView
  • Index(es):
    • Date
    • Thread