Business

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

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


Mobile developer or publisher? VentureBeat is studying mobile app analytics. Fill out our 5-minute survey, and we'll share the data with you.
13 comments
frag frag
frag frag

As above, "Same runtime as Objective-C", so clearly it's compiled.

AplaZ.com
AplaZ.com

We approve of this message, Jose De Dios by way of www.aplaz.com

Mihir Sathe
Mihir Sathe

So Google makes Go, Facebook makes Hack and Apple makes Swift. Lots of 'action' in developer community!

Kristine Farra
Kristine Farra

Just more headaches for programmers to get them locked into apple

Umer Farooq
Umer Farooq

Nothing can be parallel to C in speed! Period

Über Lemelin
Über Lemelin

'func' instead of 'function' ? Have programmers become that lazy ?

Nigel Hall
Nigel Hall

If it's anything like Taylor Swift - does it mean that it writes a nasty song about you afterwards ?