Business

Apple announces 'Swift,' a new programming language for OS X & iOS

Screen Shot 2014-06-02 at 2.47.48 PM
Gaming execs: Join 180 select leaders from King, Glu, Rovio, Unity, Facebook, and more to plan your path to global domination in 2015. GamesBeat Summit is invite-only -- apply here. Ticket prices increase on April 3rd!

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:

swift-screenshot

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

More information:

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’s VB Insight team is studying email marketing tools. Chime in here, and we’ll share the results.