Re: Newbie coming to Cocoa from the world of C++
Re: Newbie coming to Cocoa from the world of C++
- Subject: Re: Newbie coming to Cocoa from the world of C++
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 5 Mar 2003 14:44:50 -0800
On Wednesday, March 5, 2003, at 02:36 PM, Marcel Weiher wrote:
3) When using the @ sign in front of some quoted text, that
automatically converts that text into an NSString?
To be precise, the compiler boils it down into a function call that
returns a member of a private NSString subclass. There's a compiler
option to let you choose the class to use for constant strings.
I thought it simply compiled a direct referene to a statically
allocated instane of said NSString subclass. Has this changed, or am
I simply delusional?
I may be mistaken on the specifics. I do know that there's a compiler
switch to select the constant string class, though.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.