Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash-3.2$ alias s2
- alias s2='sudo xcode-select -s /Applications/Xcode.app ; swift'
- bash-3.2$ s2
- Password:
- Welcome to Apple Swift version 2.2 (swiftlang-703.0.18.8 clang-703.0.30). Type :help for assistance.
- 1> String(format: "%f %3d", 33, 44)
- $R0: String = "(\"%f %3d\", 33, 44)"
- 2> print(String(format: "%f %3d", 33, 44))
- ("%f %3d", 33, 44)
- 3> bash-3.2$
- bash-3.2$ alias s3
- alias s3='sudo xcode-select -s ~/Applications/Xcode-beta.app ; swift'
- bash-3.2$ s3
- Welcome to Apple Swift version 3.0 (swiftlang-800.0.30 clang-800.0.24). Type :help for assistance.
- 1> print(String(format: "%f %3d", 33, 44))
- ("%f %3d", 33, 44)
- 2> bash-3.2$
- bash-3.2$ cat test.swift ; swift test.swift
- print(String(format: "%f %3d", 33, 44))
- ("%f %3d", 33, 44)
- bash-3.2$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement