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

NSTextArea - how to change the text programmatically?


  • Subject: NSTextArea - how to change the text programmatically?
  • From: William Squires <email@hidden>
  • Date: Sun, 26 Feb 2012 19:28:10 -0600

  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?
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  ........
...

and so on for some number of lines, where 'hh' is a 2-character hex representation of the byte at offset 0..7+nnnn on each line. Would an NSTextArea be better for this, or an NSTableView? Note that this is a read-only view, the user won't edit the values from here (at least not in version 1.0 of my program... maybe 3.0... :) )




_______________________________________________

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: Jens Alfke <email@hidden>
    • Re: NSTextArea - how to change the text programmatically?
      • From: Graham Cox <email@hidden>
    • Re: NSTextArea - how to change the text programmatically?
      • From: John Joyce <email@hidden>
  • Prev by Date: Re: Was: Re: NSStepper - useless?
  • Next by Date: Re: [Obj-C] if (self) vs. if (self != nil)
  • Previous by thread: Re: Recommended way to present a font preference
  • Next by thread: Re: NSTextArea - how to change the text programmatically?
  • Index(es):
    • Date
    • Thread