• 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: NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView


  • Subject: Re: NSTextView
  • From: Christopher Lloyd <email@hidden>
  • Date: Sat, 25 Aug 2001 18:12:33 -0400

At 06:54 PM 8/25/2001 +0200, you wrote:
How do I put text, programatically, in a NSTextView? I've looked everywhere for a method to do this, but I haven't found any. I want to make a log window, and I need to be able to append strings to it....

Something along the lines of:

[[[textView textStorage] mutableString] appendFormat:@"My Log Entry at %@",[NSDate date]];

or:

[[[textView textStorage] mutableString] appendString:@"My Log Entry"];

Hope this helps,
Chris


References: 
 >NSTextView (From: Johan Lindberg <email@hidden>)

  • Prev by Date: Re: Docs
  • Next by Date: Re: Docs
  • Previous by thread: Re: NSTextView
  • Next by thread: Re: NSTextView
  • Index(es):
    • Date
    • Thread