Suggested approach: This syntax was introduced in Swift 2.0 to allow run-time version checking of features by OS version number. It allows you to target an older version of iOS while selectively limiting features available only in newer iOS versions, all carefully checked by the compiler to avoid human error.
Estimated difficulty: Intermediate
finalkeyword do, and why would you want to use it?
guardkeyword in Swift?
Link copied to your pasteboard.