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
124 months ago
The best part so far.. :D
Score: 18 Votes (Like | Disagree)
iGuyS Avatar
124 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
124 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
124 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
124 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
124 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

ios stolen device protection

iOS 17.3 Beta Adds New Stolen Device Protection Feature to iPhone

Tuesday December 12, 2023 10:20 am PST by
The first iOS 17.3 beta rolling out to developers today includes a new "Stolen Device Protection" feature that is designed to add an additional layer of security in the event someone has stolen your iPhone and also obtained the device's passcode. Earlier this year, The Wall Street Journal's Joanna Stern and Nicole Nguyen reported about instances of thieves spying on a victim's iPhone...
iOS 17

33 New Things Your iPhone Can Do in iOS 17.2

Tuesday December 12, 2023 1:57 am PST by
Apple has made available for download its major end-of-year iPhone software update, iOS 17.2, featuring a large number of features and changes that users have been anticipating for quite a while. Below, we've listed 33 new things that your iPhone can do once you've installed the update. Check Settings ➝ General ➝ Software Update on your device to get downloading. 1. Help You Keep a Daily ...
iPhone 16 Mock Back 1

iPhone 16 Early Prototypes: What Apple's Next-Generation iPhone Will Look Like

Tuesday December 12, 2023 3:07 pm PST by
With the launch of the iPhone 15, Apple introduced design changes like a curved frame and a frosted glass back. Information acquired by MacRumors suggests that Apple's next-generation iPhone 16 will build on these updates with modifications to the buttons and the camera layout. We have details on early pre-production designs for the iPhone 16, including a look at the variants and hardware...
CarPlay Phone Call

GM Says It's Nixing CarPlay to Make Drivers Safer

Tuesday December 12, 2023 1:47 pm PST by
Earlier this year, General Motors (GM) announced plans to phase out Apple's CarPlay and Android Auto in its future electric vehicles, with the company instead relying on an infotainment system co-developed with Google. This has not been a popular decision with iPhone users, and today, GM provided some additional insight into the decision in a discussion with MotorTrend. According to Tim...
iPhone 16 Side Feature

iPhone 16 Pro Rumored to Have These 12 New Features

Monday December 11, 2023 10:46 am PST by
While the iPhone 16 Pro and iPhone 16 Pro Max are still over nine months away from launching, there are already several rumors about the devices. Below, we have recapped new features and changes expected for the devices so far. These are some of the key changes rumored for the iPhone 16 Pro models as of December 2023:Larger displays: The iPhone 16 Pro and iPhone 16 Pro Max will be equipped...
Apple TV 2022 Feature Blue

Apple Releases tvOS 17.2 With Revamped Apple TV App

Monday December 11, 2023 9:58 am PST by
Apple today released tvOS 17.2, the second major update to the tvOS 17 operating system that came out in September 2023. tvOS 17.2 comes more than a month after tvOS 17.1, an update that expanded the availability of the Enhanced Dialogue feature. tvOS 17.2 can be downloaded using the Settings app on the ‌Apple TV‌. Go to System > Software Update to get the new software. ‌Apple TV‌...
maxresdefault

Top Five Features in macOS Sonoma 14.2

Wednesday December 13, 2023 3:21 pm PST by
When Apple releases new software, iOS updates tend to get most of the attention, and there are sometimes useful new features in Mac updates that go under the radar. That's the case with macOS Sonoma 14.2. It doesn't have flashy features like the Journal app that came in iOS 17.2, but there are a number of useful improvements that make it worth installing. Subscribe to the MacRumors YouTube ...