Swift World: New in Swift 3.1 — Availability by Swift Version
Swift is moving on. To support different incompatible versions, we use #if swift(>= N) before Swift 3.1. For example the following simple code snippet, we print different information in different versions.