Hello,

We noticed you're browsing in private or incognito mode.

To continue reading this article, please exit incognito mode or log in.

Not an Insider? Subscribe now for unlimited access to online articles.

Intelligent Machines

Apple Seeks a Swift Way to Lure More Developers

A simpler programming language from Apple could broaden the pool of apps and help make them more interactive.

The programming language for Apple devices is complicated and idiosyncratic.

Apple may not have wowed consumers with the latest software offerings at its annual Worldwide Developers Conference in San Francisco this year. But it unveiled something that could have a much bigger impact than a new version of its iOS mobile software or even a new iPhone: a new programming language.

Called Swift, it’s meant to offer a faster, easier way to build software for Apple’s products than its existing programming language, Objective-C. And so far, developers like what they see, saying it will be especially helpful for inexperienced coders who may have shied away from developing iPhone apps in the past.

Objective-C has a long history at Apple. First conceived in the 1980s as an extension to the C programming language, it was licensed by NeXT Computer—the company Steve Jobs founded after being ousted from Apple in 1985—and used for its operating system. After Apple bought NeXT in 1996 and Jobs returned to Apple, Objective-C was used in Apple’s OS X operating system and, eventually, in the iOS mobile operating system, too.

Yet Objective-C can be complicated and confusing, especially for new programmers, and it is viewed as clunkier than some more modern programming languages. Swift is simpler than Objective-C and allows users to see their code in action as they write it on their computer screens, rather than running it through a compiler before checking it out. But it is also compatible with Objective-C code, which means it will work with apps already in Apple’s App Store. And it’s meant to be used for development of Mac apps, too.

Apple rolled out a beta version of Swift on Monday to members of its developer program. A final version will come out in the fall.

Introducing Swift to the crowd at Apple’s annual developer conference in San Francisco on Monday, Craig Federighi, Apple’s senior vice president of software engineering, said it’s “like Objective-C without the bulk of C.”

Frank Bentley, a principal research associate at Yahoo Labs who studies the future of mobile and teaches mobile programming at MIT, expects Swift will make it a lot easier for his students to get up and running with iOS apps.

Historically, iOS “tends to trip up some students,” he says, with some of its more complex features that relate to things like memory management and bracket notation. When he took a first look at Swift, he saw that those barriers were gone.

Bentley also thinks students will like the ability to automatically debug and try out things like animation while writing code in Swift (something Apple demonstrated on Monday by making a simple game using Swift and Apple’s Xcode).

“This gives kind of a new way to run things interactively—to just try things,” he says. “Then you can change a couple constants around, see how something works differently. It just lets you play around a little more without having to load it on the phone and try something new every time.”

Developers say Swift’s similarities to other modern programming languages may also help encourage new developers to build software for iOS, according to Tony Scherba, president and founding partner at mobile app developer Yeti. “I know people, even in our shop, that are getting up to speed on iOS, coming from a Ruby or JavaScript or Python background; all of the overhead of Objective-C gets rather confusing,” he says. “I think Swift is going to make that a lot easier.”

Scherba says Swift is better suited to developing games and apps with 3-dimensional graphics and will generally make coding clearer and more concise than it was with Objective-C.

“You can imagine if [there’s] some strange, archaic written language that has these really long names, it’s going to be a little bit more scary to learn how to read and write that language than something clear and concise, that makes more sense and is more legible,” he says.

However, there could be one perhaps unintended consequence of Swift: if it does bring in many more iOS developers, Scherba says, it could also bring down the premium fetched by current iOS developers, whose skills have been considered a hot commodity.

Cut off? Read unlimited articles today.

Become an Insider
Already an Insider? Log in.

Uh oh–you've read all of your free articles for this month.

Insider Premium
$179.95/yr US PRICE

More from Intelligent Machines

Artificial intelligence and robots are transforming how we work and live.

Want more award-winning journalism? Subscribe and become an Insider.
  • Insider Plus {! insider.prices.plus !}* Best Value

    {! insider.display.menuOptionsLabel !}

    Everything included in Insider Basic, plus the digital magazine, extensive archive, ad-free web experience, and discounts to partner offerings and MIT Technology Review events.

    See details+

    What's Included

    Unlimited 24/7 access to MIT Technology Review’s website

    The Download: our daily newsletter of what's important in technology and innovation

    Bimonthly print magazine (6 issues per year)

    Bimonthly digital/PDF edition

    Access to the magazine PDF archive—thousands of articles going back to 1899 at your fingertips

    Special interest publications

    Discount to MIT Technology Review events

    Special discounts to select partner offerings

    Ad-free web experience

  • Insider Basic {! insider.prices.basic !}*

    {! insider.display.menuOptionsLabel !}

    Six issues of our award winning print magazine, unlimited online access plus The Download with the top tech stories delivered daily to your inbox.

    See details+

    What's Included

    Unlimited 24/7 access to MIT Technology Review’s website

    The Download: our daily newsletter of what's important in technology and innovation

    Bimonthly print magazine (6 issues per year)

  • Insider Online Only {! insider.prices.online !}*

    {! insider.display.menuOptionsLabel !}

    Unlimited online access including articles and video, plus The Download with the top tech stories delivered daily to your inbox.

    See details+

    What's Included

    Unlimited 24/7 access to MIT Technology Review’s website

    The Download: our daily newsletter of what's important in technology and innovation

/
You've read all of your free articles this month. This is your last free article this month. You've read of free articles this month. or  for unlimited online access.