On May 27, 2008, at 6:31 PM, Andy Lee wrote:
On May 27, 2008, at 6:20 PM, Bill Monk wrote:
NSString *compileDate = [NSString stringWithCString:__DATE__
encoding:NSASCIIStringEncoding];
NSString *compileTime = [NSString stringWithCString:__TIME__
encoding:NSASCIIStringEncoding];
Any reason not to do the following?
NSString *compileDate = @__DATE__;
NSString *compileTime = @__TIME__;
You're right. Now why didn't I think of that??? They're preprocessor
macros, so of course that works.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]