Re: ENABLE_NS_ASSERTIONS?
Re: ENABLE_NS_ASSERTIONS?
- Subject: Re: ENABLE_NS_ASSERTIONS?
- From: Jens Alfke <email@hidden>
- Date: Fri, 18 Oct 2013 18:54:06 -0700
On Oct 18, 2013, at 4:28 PM, Rick Mann < email@hidden> wrote: I'm trying to comment out code that becomes unnecessary when an NSAssert is elided. ... What should I use? There's also NS_BLOCK_ASSERTIONS.
If you look at the definitions of the NSAssert macros in NSException.h, they’re all enabled based on #if !defined(NS_BLOCK_ASSERTIONS) so I think that’s the symbol you should test against.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden