3. Swift 1.2
- Objective-C generics
- Pattern Matching
- Availability Checking
- do/while is now repeat
- unit testing via @testable
- Markdown support for documentation
(including images)
4. nested generic value types
public enum Result<T> {
case Success(T)
case Error(NSError)
}
public enum Result<T> {
case Success(Box<T>)
case Error(NSError)
}
Swift 1.2
Swift 2
18. • Swift source code will be released under an OSI-approved permissive
license.
• Contributions from the community will be accepted — and
encouraged.
• At launch we intend to contribute ports for OS X, iOS, and Linux.
• Source code will include the Swift compiler and standard library.