Apple Announces Significant SDK Improvements with New 'Swift' Programming Language, CloudKit and More

Apple devoted the last third of its keynote address at the Worldwide Developer Conference today to improvements for its Software Development Kit (SDK), launching a new programming language called Swift, and development kits for health, home automation, iCloud and inter-app operability.

ios8sdk
The announcement that got the biggest reaction from developers was Swift, a new programming language for Cocoa and Cocoa Touch that Apple calls modern, fast and powerful and designed for safety.

Swift is the result of the latest research on programming languages, combined with decades of experience building Apple platforms. Named parameters brought forward from Objective-C are expressed in a clean syntax that makes APIs in Swift even easier to read and maintain. Inferred types make code cleaner and less prone to mistakes, while modules eliminate headers and provide namespaces. Memory is managed automatically, and you don’t even need to type semi-colons.

Swift also includes "Playgrounds", which allows developers to see the results of their code in a side panel in real time. The developer community appears extremely excited about Swift, with Realmac's Nik Fletcher saying he had "no words". Notable Apple pundit and developer John Gruber said that Swift is "huge, huge news" and the "future of all Apple development".

iCloud has also been partly opened up for developers with a powerful new framework for developers called CloudKit. It allows developers to avoid costly and time-consuming coding the server-side of applications, with Apple providing huge amounts of cloud storage and computing power for free, albeit with extremely high limits to encourage tight coding.

Leverage the full power of iCloud and build apps with the new CloudKit framework. Now you can easily and securely store and efficiently retrieve your app data like structured data in a database or assets right from iCloud. CloudKit also enables your users to anonymously sign in to your apps with their iCloud Apple IDs without sharing their personal information.

Additionally, Apple announced lots of new APIs for developers to take further advantage of iOS. Extensibility allows apps from the App Store, which are usually isolated in sandboxes, to communicate with each other. For instance, the Pinterest app could be updated to provide a sharing option in Safari, or Bing could be updated to provide translations within Safari. Another example includes the Photos app, which can use filters from third-party apps like VSCO.

Apps from the App Store can send widgets to the Today pane in the Notification Center. For instance, ESPN's SportsCenter could add a widget within the Today pane that allows users to easily check the latest sports scores without having to open the app. Widgets are also interactive, allowing users to, for example, bid for an item on eBay from within the Notification Center.

Other parts of iOS have been opened up to developers as well, including the ability for users to swap out the default iOS keyboard for third-party options like Swype. Touch ID has also been opened up to developers, allowing apps like Mint to use fingerprint scans instead of passwords.

Apple also announced its rumored home automation platform, called HomeKit. Previously, each home automation app used its own security protocols. Now, after working together with leaders in the home automation field, all apps can work together with a single protocol and secure pairings. This allows automated home devices, like Phillips' Hue lights, to work with Siri. Users can now tell Siri something like "Siri, get ready for bed" to turn off the lights, close the garage and whatever other functions are automated in a users' home.

Apple has also improved things for game developers, announcing Metal, which frees up resources for game developers to make better looking and more powerful games for iOS devices. For instance, EA would now be able to use its Frostbite engine for console games for games meant for iOS, like the upcoming Plants vs Zombies: Garden Warfare.

Xcode has been updated with live rendering, view debugging, performance testing, storyboards and more.

All of these SDK features are available for developers in the iOS 8 beta today, and will be available for consumers later this year in the fall. Much more information is available at Apple's Developer website.

Top Rated Comments

Bhatu Avatar
128 months ago
The best part so far.. :D
Score: 18 Votes (Like | Disagree)
iGuyS Avatar
128 months ago
These were pretty major announcements. Some of these things were assumed to simply never be a part of what Apple would do for developers or users. For example, people were assuming that a replacement for Obj. C would be years in the future, if ever. Likewise with allowing developers hooks directly into system apps to improve them.

Kind of thrilling. Not sure what to think about Apple now, to be honest. And I mean that in a good way.
Score: 10 Votes (Like | Disagree)
d4rkc4sm Avatar
128 months ago
Swift was the most important announcement today!

How come this is not on the front page? :confused:

This announcement didnt make front page because Swift is not important or revolutionary technology. Beats reducing bass on their headphones... now that is front page news!
Score: 9 Votes (Like | Disagree)
alent1234 Avatar
128 months ago
WWDC 14: boring... Ok... Where's the iwatch/Apple TV... Hey Tim Sweeney, ooh shiney... I hope they have more than this... Jaw on floor, wtf! BOOM HEADSHOT!

What did you expect from a DEVELOPER CONFERENCE
Score: 8 Votes (Like | Disagree)
wilhoitm Avatar
128 months ago
This was one of the few things I wasn't expecting.

Wow, this changes everything! Swift! :apple:

A 21st Century programming language!

Apple just might crash the Internet today!

Swift was the most important announcement today!

How come this is not on the front page? :confused:
Score: 8 Votes (Like | Disagree)
Ralf The Dog Avatar
128 months ago
Metal blew me away. I thought it would be the IOS announcement of the decade. Then they hit us with Swift. (One more thing!)

I only wish Swift was available for server side development.
Score: 6 Votes (Like | Disagree)

Popular Stories

iPhone 16 Camera Lozenge 2 Perspective Gray

Five Key Upgrades Coming to iPhone 16

Friday March 15, 2024 1:45 pm PDT by
The iPhone is Apple's top-selling product, and it gets an update every year. In 2024, we're expecting the iPhone 16 and iPhone 16 Pro lineup, with an arguably more interesting feature set than we got with the iPhone 15 and iPhone 15 Pro. Subscribe to the MacRumors YouTube channel for more videos. Capture Button All four iPhone 16 models are set to get a whole new button, which will be...
When To Expect New iPads Feature 1

Apple to Announce New iPads on March 26, Rumors Claim

Monday March 18, 2024 4:02 am PDT by
Apple is widely expected to release new iPad Air and OLED iPad Pro models in the next few weeks. According to new rumors coming out of Asia, the company will announce its new iPads on Tuesday, March 26. Chinese leaker Instant Digital on Weibo this morning 日发布%23">claimed that the date will see some sort of announcement from Apple related to new iPads, but stopped short of calling it an...
airpods 3 orange

Two New AirPods 4 Models Expected to Launch in September or October

Sunday March 17, 2024 7:56 am PDT by
Apple suppliers will begin production of two new fourth-generation AirPods models in May, according to Bloomberg's Mark Gurman. Based on this production timeframe, he expects the headphones to be released in September or October. Gurman expects both fourth-generation AirPods models to feature a new design with better fit, improved sound quality, and an updated charging case with a USB-C...
iphone se 4 modified flag edges

iPhone SE 4 Expected to Depreciate Heavily

Tuesday March 12, 2024 9:04 am PDT by
Resale value trends suggest the iPhone SE 4 may not hold its value as well as Apple's flagship models, according to SellCell. According to the report, Apple's iPhone SE models have historically depreciated much more rapidly than the company's more premium offerings. The third-generation iPhone SE, which launched in March 2022, experienced a significant drop in resale value, losing 42.6%...
M3 iPad Feature 3

New iPads Likely to Begin Shipping in April

Monday March 18, 2024 9:52 am PDT by
Apple's new iPad Pro models with OLED displays will likely begin shipping to customers in April, according to information shared today by Ross Young, CEO of display industry research firm Display Supply Chain Consultants. Bloomberg's Mark Gurman also said the new iPad Pro models might not ship until "deeper" into April in his Power On newsletter on Sunday:I've repeatedly said that new...
General iOS 17 Feature Orange Purple

iOS 17.4.1 Update for iPhone is Imminent

Monday March 18, 2024 5:27 am PDT by
iOS 17.4.1 and iPadOS 17.4.1 should be released within the next few days, with a build number of 21E235, according to a source with a proven track record. MacRumors previously reported that Apple was internally testing iOS 17.4.1. As a minor update for the iPhone, it will likely address software bugs and/or security vulnerabilities. It is unclear if the update will include any other changes. ...
Reasons to Not Upgrade to macOS Sonoma 14

macOS Sonoma 14.4: Reasons Not to Update

Monday March 18, 2024 9:36 am PDT by
Since Apple unveiled macOS Sonoma 14.4 on March 7, the transition to the latest software update has not been entirely smooth for everyone, and a number of issues have been reported by users that significantly impact their daily workflow. This article lists the most prominent challenges users have faced since updating to macOS Sonoma 14.4, and offers potential solutions where available. USB...