• 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
Converting an AttributedString into NSData for an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Converting an AttributedString into NSData for an NSTextView


  • Subject: Converting an AttributedString into NSData for an NSTextView
  • From: Brad Stone <email@hidden>
  • Date: Sat, 25 Sep 2010 11:12:52 -0400

I have an NSMutableString that I want to set as the NSData source for an NSTextView.  I'm stuck and don't know how to do it.   I'm importing about 4,000 XML files and I have to programmatically create the attributedString for each one, there's no way around it.

How do I convert an NSMutableString to NSData so it can be the data source for an NSTextView?

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: Converting an AttributedString into NSData for an NSTextView
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: What would cause my animation's delegate methods to not be called?
  • Next by Date: Re: Converting an AttributedString into NSData for an NSTextView
  • Previous by thread: Re: Bindings Question
  • Next by thread: Re: Converting an AttributedString into NSData for an NSTextView
  • Index(es):
    • Date
    • Thread