• 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: NXAtom
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NXAtom


  • Subject: Re: NXAtom
  • From: Greg Titus <email@hidden>
  • Date: Sun, 2 Sep 2001 21:27:17 -0700

On Sunday, September 2, 2001, at 08:48 PM, Simson L. Garfinkel wrote:
One can use the atomForString methods you outline below, although the nice thing about the NXAtom is that it is a (unsigned char *) and you can compare equivalence of strings with ==, and then use them in %s formats.

Well, you can compare equivalence of these "NSAtom"s with ==, and it does have the big advantage of NSString's unicode support. Personally, I wouldn't use a char * for any purpose in any Cocoa application that I was working on these days. The multi-lingual support in Cocoa is so good that there is no reason at all not to write localizable code.

Just, MHO....

--Greg


References: 
 >Re: NXAtom (From: "Simson L. Garfinkel" <email@hidden>)

  • Prev by Date: Re: Datasource for tableview and more
  • Next by Date: Re: Implementing behavior for "make" appleevent in Cocoa App
  • Previous by thread: Re: NXAtom
  • Next by thread: Re: Writing a file type
  • Index(es):
    • Date
    • Thread