• 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: I know I've done this before...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I know I've done this before...


  • Subject: Re: I know I've done this before...
  • From: Greg Titus <email@hidden>
  • Date: Mon, 11 Jun 2001 20:01:18 -0700

On Monday, June 11, 2001, at 04:51 PM, John C. Randolph wrote:

I know I've done this before, but I don't recall how to insert an NSAttributedString into an NSTextView, preserving its formatting. Do I have to stick it in the pasteboard first?

Nope. Here ya go:

[[myTextView textStorage] setAttributedString: myAttributedString];

--Greg


References: 
 >I know I've done this before... (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Jeff Lamarche: Public Enemy #1
  • Next by Date: Re: I know I've done this before...
  • Previous by thread: I know I've done this before...
  • Next by thread: Re: I know I've done this before...
  • Index(es):
    • Date
    • Thread