Created
January 28, 2019 12:05
-
-
Save salmaanahmed/43d17c5043a0cdb6a1e2671ae9de933d to your computer and use it in GitHub Desktop.
Compilation conditions before swift 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if !swift(>=4.2) | |
// This will only be executed if the Swift version is less than 4.2. | |
#endif | |
#if !compiler(>=4.2) | |
// This will only be executed if the Swift compiler version is less than 4.2. | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment