Apple today announced Swift 2, the latest version of its programming language for iOS, OS X and watchOS with all-new Whole Module Optimization technology. Apple executive Craig Federighi also announced that Swift will be open source and made available for Linux later this year.
Swift 2 has new features that will enable developers to write even better code, including advanced error handling, availability checking and syntax enhancements.








