On Oct 16, 2009, at 12: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? 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.

NSTextStorage is a subclass of NSAttributedString, which has a -string property. This is easy to overlook :)

—Jens_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to