NSTextArea - how to change the text programmatically?
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