I often saw \"assert \" in iOS code, I google it, and got to know it assert true or false.
I want to know if this will auto disable in release mode?
I will here provide a meta-answer:
Both @CocoaFu and @dasblinkenlight are correct. NS_BLOCK_ASSERTIONS turns off NSAssert() and NDEBUG turns off assert(). You need both if you use both.
NS_BLOCK_ASSERTIONS
NSAssert()
NDEBUG
assert()