Re: Removing NSLog & NSAssert for deployment
Re: Removing NSLog & NSAssert for deployment
- Subject: Re: Removing NSLog & NSAssert for deployment
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 7 Feb 2002 12:19:21 -0800
On Thursday, February 7, 2002, at 03:43 AM, Bill Cheeseman wrote:
Is it useful to remove NSLog and NSAssert macro calls when building an
Objective-C Cocoa application for deployment -- whether for performance
reasons or otherwise? If so, how is this normally done? Is there a
preprocessor macro for this?
I tend to just bracket NSAssert calls with #ifdef
debug..#endif. (This may not be the canonical way, though.)
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
_______________________________________________
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.