Apple today announced a new programming language native to both OS X and iOS: Swift.
Speaking at Apple’s annual developer conference, software engineering VP Craig Federighi called the new language “fast, modern, and designed for safety.” It’s like “Objective-C, without the C,” Federighi said.
A beta version of Swift is available now for members of Apple’s developer program.
According to Federighi:
When it comes to speed, Swift is great. Swift is also modern with features like closures, multiple return types, and namespaces. Swift is completely native to both Cocoa and Cocoa Touch.
According to Apple, “Xcode Playgrounds make writing Swift code incredibly interactive by instantly displaying the output of Swift code.”
Here’s a look at Swift’s “Playground” development environment:
Federighi claims that Swift is far better at handling RC4 encryption compared to Objective-C and Python:
More on Swift’s speed:
In a press release, Apple calls Swift “a powerful new programming language for iOS and OS X that makes it easier than ever for developers to create incredible apps.” Apple claims that “Swift helps developers write safer and more reliable code by eliminating entire categories of common programming errors, and coexists with Objective-C code, so developers can easily integrate Swift into their existing apps.”
According to Federighi, “Swift is going to be ready for primetime out of the gate,” and will feature “complete Xcode support.” Additionally, as soon as iOS and OS X are made available, Federighi says developers “can submit Swift apps to the App Store.”
Apple designs and markets consumer electronics, computer software, and personal computers. The company's best-known hardware products include the Macintosh line of computers, the iPod, the iPhone and the iPad. Apple software includes t... read more »
Powered by VBProfiles
VentureBeat is studying social media marketing
, and we’ll share the data with you.