It’s been a day Apple introduces iOS 8 Yosemite and swiftly, Swift programming language for iOS gets introduced at WWDC.
Swift, a new programming language, announced by Apple for designing and developing apps that runs on Apple iOS devices and Apple Macintosh computers. Swift is expected replace the existing Objective-C which is now used to develop iOS and Macintosh OS X applications. Objective-C has been around 20 years with Apple and all of a sudden it (Apple) thought of having its proprietary programming language. But it was pretty much to the surprise to all the developer; what if all the apps have to be developed in Swift language. But to the rescue of the developers, Swift code is expected run along with the existing iOS applications that has been coded with Objective-C.
According to Apple
Swift is an innovative new programming language for Cocoa and Cocoa Touch. Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.
We can expect and said that Swift to be:
Here is a short and crisp list of features in the new Swift.
- Swift pairs increased type safety with type inference, restricts direct access to pointers, and automatically manages memory—making it easy to create secure, stable software.
- Swift includes optionals, generics, tuples, and other modern language features. Inspired by and improving upon Objective-C, Swift code feels natural to read and write.
- Take advantage of powerful pattern matching in Swift to write simple, expressive code. Format strings naturally with string interpolation. Use frameworks like Foundation and UI Kit directly from Swift.
- Use playgrounds to experiment with new technologies, analyze problems, and prototype user interfaces.
- The Swift compiler applies advanced code analysis to tune your code for performance, letting you focus on writing great apps instead of on implementing complex optimizations.
VP Craig Federighi said that Swift is native to both Cocoa and Cocoa Touch completely and developers will be able to use all its (Cocoa & Cocoa Touch) features which is now used from Objective-C. The beta version is only available for members of the Apple’s Developer Program and XCode playground is super interactive by giving output of the code written instantly.
Swift is available here…
Swift programming book is here...
Download XCode from here…
— Senthil (@senthil_hi) June 5, 2014
— Ryan Mattis (@Ryanmattis) June 5, 2014
Now hiring swift developers, 4 days experience required.
— Kyle Richter (@kylerichter) June 5, 2014
Facebook talks about Swift here
Here’s a conversation about introduction of Swift in Google+
Most importantly everyone is worried about the direction of the bird in the Swift’s logo; why is it flying downwards!
Thanks to Mite Janev for the surprise image. 🙂
Thanks for reading,