Swift: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 14: | Line 14: | ||
==References== | ==References== | ||
* [https://github.com/apple/swift-llvm Swift LLVM], [https://github.com/apple/swift-docker Swift Docker] | |||
* [https://github.com/apple/swift Swift], [https://github.com/apple/swift-clang Swift Clang] | |||
* [https://www.scaledrone.com/blog/ios-chat-tutorial/ iOS Chat Tutorial] | * [https://www.scaledrone.com/blog/ios-chat-tutorial/ iOS Chat Tutorial] | ||
* [https://swift.org/ Swift Community] | * [https://swift.org/ Swift Community] | ||
* [https://swift.org/download/ Download Swift] | * [https://swift.org/download/ Download Swift] | ||
* [https://swift.org/about/ About Swift] | * [https://swift.org/about/ About Swift] |
Revision as of 23:16, 6 April 2019
export PATH=/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:"${PATH}"
Features
- Closures unified with function pointers
- Tuples and multiple return values
- Generics
- Fast and concise iteration over a range or collection
- Structs that support methods, extensions, and protocols
- Functional programming patterns, e.g., map and filter
- Powerful error handling built-in
- Advanced control flow with do, guard, defer, and repeat keywords