Watch out with assertions. Truth about NSAssert and assert functions in iOS.

Some good tips on using the assertions in IOS Originally posted on lines of code: This article points out differences between NSAssert and assert functions in Objective-C. Let’s go for it. An assertion is a predicate (a true–false statement) placed in a program to indicate that the developer thinks that the predicate is always true…