IOS中的assert 与 NSAssert assert 在debug 和 release 环境下都起作用; NSAssert 一般只在debug环境下起作用; 所以建议平时用NSAssert 替代 assert;