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

Top Stories

16 inch macbook pro m2 render

When Can We Expect the Redesigned MacBook Pros Now?

Wednesday June 16, 2021 7:11 am PDT by
With no sign of redesigned MacBook Pro models at this year's WWDC, when can customers expect the much-anticipated new models to launch? A number of reports, including investor notes from Morgan Stanley and Wedbush analysts, claimed that new MacBook Pro models would be coming during this year's WWDC. This did not happen, much to the disappointment of MacBook Pro fans, who have been...
maxresdefault

Apple CEO Tim Cook: Sideloading Apps Would 'Destroy the Security' of the iPhone

Wednesday June 16, 2021 10:49 am PDT by
Apple CEO Tim Cook this morning participated in a virtual interview at the VivaTech conference, which is described as Europe's biggest startup and tech event. Cook was interviewed by Guillaume Lacroix, CEO and founder of Brut, a media company that creates short-form video content. Much of the discussion centered on privacy, as it often does in interviews that Cook participates in. He...
2021 back t0 school

Apple Launches 2021 Back to School Promotion: Free AirPods With Eligible Mac or iPad Purchase

Thursday June 17, 2021 4:56 am PDT by
Apple today launched its seasonal back-to-school sale for the upcoming school year in the United States and Canada, offering students free AirPods alongside purchases of select Macs and iPad models. Similar to last year's promotion, this year's offer includes free AirPods alongside the purchase of a MacBook Air, MacBook Pro, the new 24-inch iMac, the Mac Pro, Mac mini, and the new M1-powered ...
m1 imac back

Some M1 iMac Models Shipping With Crooked Mountings

Monday June 14, 2021 12:50 pm PDT by
Some M1 iMacs appear to have a manufacturing defect that causes the display to be mounted on the stand in a way that's not perfectly aligned, leading to a crooked display. YouTuber iPhonedo over the weekend published a review of the M1 iMac, and he found that his machine appeared to be tilted on one side, a mounting disparity that was visibly noticeable and proved with a ruler. Another...
apple watch 6s 202009

Bloomberg: Apple Watch Series 7 to Feature Thinner Screen Bezels, Faster Processor, and Updated Ultra Wideband Tech

Monday June 14, 2021 3:41 am PDT by
This year's Apple Watch Series 7 is likely to have thinner display bezels and use a new lamination technique that brings the display closer to the front cover, according to Bloomberg's Mark Gurman. From the report: The Cupertino, California-based tech giant is planning to refresh the line this year -- with a model likely dubbed the Apple Watch Series 7 -- by adding a faster processor,...
files app ipados 15

iPadOS 15: Files App Gains NTFS Support, Progress Indicator, and More

Tuesday June 15, 2021 3:41 am PDT by
Apple in iPadOS 15 has added the ability to access NTFS-formatted media from within the Files app. The additional support for the Windows-related format, first discovered by YouTuber Steven Fjordstrøm, is read-only, so like on macOS you can't modify files stored on NTFS devices, but you can at least copy any data on them for working on elsewhere on your iPad. The Files app has also gotten a...
applecare lower prices

Apple Lowers Prices of AppleCare+ Plans for M1 MacBook Air and MacBook Pro

Thursday June 17, 2021 7:33 am PDT by
Apple today lowered the prices of AppleCare+ plans for MacBook Air and 13-inch MacBook Pro models equipped with the M1 chip. Coverage offered by the plans, as well as accidental damage fees, appear to remain unchanged. In the United States, AppleCare+ for the MacBook Air now costs $199, down from $249. The new price applies to both M1 and Intel-based MacBook Air models, although Apple no...
maxresdefault

Demo: Check Out AirPlay 2 on a Mac in macOS Monterey

Tuesday June 15, 2021 11:57 am PDT by
With macOS Monterey, Apple has introduced expanded AirPlay 2 support, so you can AirPlay content from an iPhone, iPad, or even another Mac to your main Mac. We thought we'd do a quick demo of this handy new feature in our latest YouTube video. Subscribe to the MacRumors YouTube channel for more videos. With AirPlay to Mac, you can extend or mirror an Apple device's display to a Mac, and since ...
apple new iphone case colors

Apple Releases New Sunflower, Cloud Blue and Electric Orange iPhone 12 Cases

Monday June 14, 2021 11:12 am PDT by
Apple today released silicone iPhone cases for the iPhone 12, 12 Pro, 12 Pro Max, and 12 mini in a series of new colors that include sunflower, cloud blue, and electric orange. Sunflower is a bright yellow shade, cloud blue is a soft, light blue, and electric orange is a bright orange that's darker than the kumquat color and more orange than pink citrus. The new cases are priced starting...
apple watch edition series 5 ceramic black prototype

Apple Planned Black Ceramic Apple Watch Edition Series 5

Wednesday June 16, 2021 5:45 am PDT by
Apple considered offering a black version of the ceramic Apple Watch Edition Series 5, according to newly-shared images of the prototype casing. The images, shared on Twitter by the prototype collector and leaker known as "Mr. White," show a prototype black ceramic Apple Watch casing, alongside the white ceramic version. The ceramic Apple Watch Edition Series 5 was never available in a...