• 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: Extract plain text content from a Text View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extract plain text content from a Text View


  • Subject: Re: Extract plain text content from a Text View
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 16 Oct 2009 15:44:14 -0400

On Oct 16, 2009, at 3:37 PM, Ian Piper wrote:

Is there a way to get the plain text content out of an NSTextStorage object (displaying using a Text View) that contains rich text and images?

An NSTextStorage is a subclass of NSMutableAttributedString, which is a subclass of NSAttributedString. With this in mind ...



I want to figure out a way to build a search predicate that will allow me to search a Text View and I think this is likely to be the only way.

Seems a bit odd. Could you elaborate?

--
I.S.


_______________________________________________

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: Extract plain text content from a Text View
      • From: "I. Savant" <email@hidden>
References: 
 >Extract plain text content from a Text View (From: Ian Piper <email@hidden>)

  • Prev by Date: Re: Extract plain text content from a Text View
  • Next by Date: Re: Extract plain text content from a Text View
  • Previous by thread: Re: Extract plain text content from a Text View
  • Next by thread: Re: Extract plain text content from a Text View
  • Index(es):
    • Date
    • Thread