• 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: NSTextArea - how to change the text programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextArea - how to change the text programmatically?


  • Subject: Re: NSTextArea - how to change the text programmatically?
  • From: Graham Cox <email@hidden>
  • Date: Mon, 27 Feb 2012 13:28:39 +1100

On 27/02/2012, at 12:28 PM, William Squires wrote:

>  It's easy enough on an NSTextField (whether it's set up as a static label, or as a data-entry-type field), but where's the .text property of an NSTextArea?

Do you mean NSTextView? use its -string method.


> Also, what would be the easiest way to implement a view that showed a memory dump? i.e.
>
> <given some start address in an unsigned char [] buffer = 0xnnnn>
>
>  nnnn:hh hh hh hh hh hh hh hh  ........ <- ASCII printable characters for bytes with values from 0x20..0x7F, others map to '.' char.
> nnnn+8:hh hh hh hh hh hh hh hh  ........

Search for a 3rd party solution. There's one out there that's free and works well, but I forget its name.

--Graham



_______________________________________________

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: NSTextArea - how to change the text programmatically?
      • From: Graham Cox <email@hidden>
References: 
 >NSTextArea - how to change the text programmatically? (From: William Squires <email@hidden>)

  • Prev by Date: Re: [Obj-C] if (self) vs. if (self != nil)
  • Next by Date: Re: [Obj-C] if (self) vs. if (self != nil)
  • Previous by thread: Re: NSTextArea - how to change the text programmatically?
  • Next by thread: Re: NSTextArea - how to change the text programmatically?
  • Index(es):
    • Date
    • Thread