How do I create a noop block for a switch case in Swift?
Solution 1:
default:
break
Apple talks about this keyword in this article. See here, too.
Although break is not required in Swift, you can still use a break statement to match and ignore a particular case, or to break out of a matched case before that case has completed its execution.