Suggested approach: This evaluates some code and causes your app to crash if the result is false. This is actually helpful because the check only happens in debug mode – it lets you make sure your code does what you think it does.
For bonus points, give practical examples of where you’re using it in your current code.
Estimated difficulty: Easy
See the full list of iOS interview questions
Link copied to your pasteboard.