Re: NXAtom
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>) |