Re: Convert NSArray to NSString
Re: Convert NSArray to NSString
- Subject: Re: Convert NSArray to NSString
- From: Michael Vannorsdel <email@hidden>
- Date: Sat, 12 Apr 2008 18:49:22 -0600
The textStorage of the NSTextView is actually an
NSMutableAttributedString subclass so you can treat it as such and get
the text and attributes from it.
On Apr 12, 2008, at 6:48 PM, Lincoln Green wrote:
I am trying to store the selected text in an NSTextView in an
NSString/NSMutableString. I have found the selectedRange method, but
can't figure out how to turn the NSArray into an NSString. Any help
would be greatly appreciated. Thanks!
_______________________________________________
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