• 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: writing to a textview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing to a textview


  • Subject: Re: writing to a textview
  • From: Marten van Gelderen <email@hidden>
  • Date: Thu, 20 Nov 2003 19:35:07 +0100

Hallo,

Use: [myTextView setString: @"Bla bla"]; (that is Cocoa style).

If you want to append to the myTextView, write a category on NSTextView as explained in Garfinkel & Mahony: Building Cocoa Apps O'Reilly (ISBN 0-596-00235-1) page 341.

On 20 Nov 2003, at 4:19 AM, Highlander872 wrote:

dumb question here.

I know you can use field.setStringValue("blah blah blah");

to set hte value of an NSTextField
but wut is the equivalent for NSTextView?

I tried setStringValue but got a build error so im guessin thats wrong



"The very powerful and the very stupid have one thing in common. They don't alter their views to fit the facts, they alter the facts to fit their views. Which can be quite uncomfortable if you happen to be one of the facts that needs altering."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


--
Groeten, Marten
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >writing to a textview (From: Highlander872 <email@hidden>)

  • Prev by Date: 0x3ff00000 is what, exactly?
  • Next by Date: Re: [Now OT] Re: Tunneling mouse events through windows?
  • Previous by thread: Re: writing to a textview
  • Next by thread: RE: writing to a textview
  • Index(es):
    • Date
    • Thread