NSAssert is an Objective-c Macro on Cocoa and Cocoa Touch which will generate an assertion if a given condition is false.
NSAssert
is an Objective-c Macro on Cocoa and Cocoa Touch. It will evaluate a given condition. If the condition is false, then an exception will be thrown.
Visit Apple's Developer Documentation for more details.