I am using NSAssert() calls within an iPhone application and my understanding from the Apple docs is that assertions are not compiled into the code if NS_BLOCK_ASSERTIONS is defined.
To turn off assertions, in a header file I declare: #define NS_BLOCK_ASSERTIONS
However, the assert code still seems to run.
Is there something I am missing here?
Thanks
John
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…