Skip to content

Instantly share code, notes, and snippets.

@bob910078
Created June 8, 2018 11:24
Show Gist options
  • Save bob910078/2f652964658951bf6481391e7cd821d6 to your computer and use it in GitHub Desktop.
Save bob910078/2f652964658951bf6481391e7cd821d6 to your computer and use it in GitHub Desktop.
#if swift(>=5.0)
print("Hello, Swift 5.0")
#elseif swift(>=4.2)
print("Hello, Swift 4.2")
#elseif swift(>=4.1)
print("Hello, Swift 4.1")
#elseif swift(>=4.0)
print("Hello, Swift 4.0")
#elseif swift(>=3.0)
print("Hello, Swift 3.0")
#elseif swift(>=2.2)
print("Hello, Swift 2.2")
#elseif swift(>=2.1)
print("Hello, Swift 2.1")
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment