• 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: Convert NSArray to NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Convert NSArray to NSString
      • From: Ben Lachman <email@hidden>
References: 
 >Convert NSArray to NSString (From: Lincoln Green <email@hidden>)

  • Prev by Date: Re: Highlight color of a NSTableView row
  • Next by Date: HUD-style panel controls?
  • Previous by thread: Convert NSArray to NSString
  • Next by thread: Re: Convert NSArray to NSString
  • Index(es):
    • Date
    • Thread