• 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: Jens Alfke <email@hidden>
  • Date: Sun, 26 Feb 2012 18:59:13 -0800

On Feb 26, 2012, at 6:20 PM, John Joyce wrote:

>> <given some start address in an unsigned char [] buffer = 0xnnnn>
> Doesn't necessarily work quite that simply with Unicode and NSString and its family.
> From a file that is ASCII data you could create a C array like that ...

Huh? William didn’t say anything about where the data came from. As long as it’s already in a C byte array (or an NSData) it can be displayed as a hex dump pretty easily.

> Are you sure it is ASCII ...?
> Internally to NSString and friends it likely is not. It's best to forget much of what you think you know in assuming things are ASCII.

Again, this has nothing to do with NSString. I think you’re off base here.

—Jens
_______________________________________________

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

  • Prev by Date: Re: NSTextArea - how to change the text programmatically?
  • Next by Date: Re: NSTextArea - how to change the text programmatically?
  • 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