Innen.
I typically use assertions during development only – you can disable assertions by adding the preprocessor macro NS_BLOCK_ASSERTIONS in the build settings for your Release builds.
The screenshot below shows how to configure the Build Settings inside Xcode 4 to add NS_BLOCK_ASSERTIONS.

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.