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.

swift-heroA 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:

Screen Shot 2014-06-02 at 2.46.50 PM

More on Swift’s speed:

Screen Shot 2014-06-02 at 2.46.42 PM

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.”

Get more stories like this on TwitterFacebook

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 i... All Apple news »

Track Apple's Landscape to stay on top of the industry. Access the entire ecosystem, track innovation & deals. Learn more.