Skip to content

June 2, 2014

Apple’s Swift is a new programming language with a focus on speed and ease of use

by John_A

Apple’s used Objective-C as its programming language of choice for right around twenty years now, but it’s brought something new to its yearly developer conference: Swift, a new tongue of its own making. Apple describes its new lingua franca as “Objective-C without the C,” but it keeps (and improves on) the speed of its progenitors. In other words, iOS and OS X apps built with Swift should run even smoother and faster than counterparts made with the tried and true Objective-C. According to Cupertino, Swift can be used to craft anything from social networking apps to 3D games.

The proverbial baby isn’t going out with the bath water, however, as Swift code can run alongside Objective-C and C in the same application. Swift may also make life easier for developers in a number of ways, one of which is a “playground” feature that provides a preview of what’s being programmed. For example, Cook. and Co. demoed how a developer could visualize a flight path of an in-game blimp (in realtime, no less) just by tweaking a few lines of code.

If you’re raring to get into the nitty gritty of the language, you can read up on its finer points thanks to a free e-book Apple’s just released. Developers itching to get their hands dirty with Swift can download the XCode 6 Beta and get coding. However, submitting an app written with Swift to the App Store will have to wait until iOS 8 and OS X Yosemite arrive this fall.

Filed under: Apple

Comments

Source: Apple

Read more from News

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments

%d bloggers like this: