Objective-C Language Error Handling

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • NSAssert(condition, fmtMessage, arg1, arg2, ...) (args in italics are optional) -- Asserts that condition evaluates to a true value. If it doesn't than the assertion will raise an exception (NSAssertionException), with the fmtMessage formatted with the args provided


Got any Objective-C Language Question?