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
#errorcompiler directive do?
guardkeyword in Swift?
deferkeyword in Swift?
Link copied to your pasteboard.