Sign up for FlowVella
Sign up with FacebookAlready have an account? Sign in now
By registering you are agreeing to our
Terms of Service
Loading Flow
Ranges can also be used as case conditions (not shown in this example)
No fall through, unless you explicitly use falltrhough keyword
Case statements can contain expressions, not just values
Every possible case must be handled. Use default if needed for catch-all
Switch Statements
The Swift Programming Language, Apple Inc.,
https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#//apple_ref/doc/uid/TP40014097-CH9-ID120