Apple just announced Swift 2, an updated and now open source version of its programming language. Swift 2 will be available for iOS, OS X and Linux.
Swift 2 includes a ton of improvements, including an error handling model, markdown in comments, availability checking, protocol extensions and a migrator from Swift 1.2 to the update programming language.
The big news, though, is that Swift is expanding beyond iOS. Developers can now use the language to create apps for OS X as well, and even devices that don’t run Apple’s software.
at don’t run Apple’s software.