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

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

iPhone 12 Sizes Compared with iPhone SE, 7, 8, SE 2, X, 11, 11 Pro and 11 Pro Max [Update]

Tuesday July 7, 2020 6:49 pm PDT by
Apple is planning on launching the iPhone 12 this fall which is rumored to be coming in 3 different sizes: 5.4", 6.1" and 6.7". The middle size (6.1") matches up with the currently shipping iPhone 11, but the other two sizes will be entirely new. Over the weekend, there was some excitement about how well the new 5.4" iPhone 12 compares to the original iPhone SE. Those who have been hoping...

Everything New in iOS 14 Beta 2: New Calendar Icon, Files Widget and More

Tuesday July 7, 2020 11:38 am PDT by
Apple today released the second beta of iOS 14 to developers for testing purposes, tweaking and refining some of the features that are coming in the update. Below, we've rounded up all of the changes that we found in the second beta. - Calendar icon - There's a new Calendar app icon in iOS 14 beta 2, with the day of the week abbreviated rather than spelled out. - Clock icon - The clock...

Apple Warns Against Closing MacBooks With a Cover Over the Camera

Friday July 10, 2020 11:12 am PDT by
Apple this month published a support document that warns customers against closing their Mac notebooks with a cover over the camera as it can lead to display damage. Image via Reddit Apple says that the clearance between the display and the keyboard is designed to very tight tolerances, which can be problematic. Covering the camera can also cause issues with automatic brightness and True Tone....

Analyst Believes iPhone 12 Pricing Will Start $50 Higher Even Without EarPods or Charger in Box

Wednesday July 8, 2020 9:35 am PDT by
Despite multiple reports indicating that Apple will not include EarPods or a wall charger with iPhone 12 models this year, one analyst believes that pricing will still increase slightly compared to the iPhone 11 lineup. In a research note provided to MacRumors, analyst Jeff Pu forecasted that iPhone 12 pricing will start at $749 for a new 5.4-inch model, an increase of $50 over the base...

Apple Seeds First Betas of iOS 14 and iPadOS 14 to Public Beta Testers

Thursday July 9, 2020 10:14 am PDT by
Apple today seeded the first public betas of upcoming iOS and iPadOS 14 updates to its public beta testing group, two weeks after first providing the updates to developers after the WWDC keynote and a day after seeding the second developer betas. Public beta testers who have signed up for Apple's beta testing program can download the iOS/‌iPadOS‌ 14 updates over the air after installing ...

14-Inch MacBook Pro With Mini-LED Display Expected to Enter Production in 2021

Wednesday July 8, 2020 7:51 am PDT by
Apple suppliers will begin competing to win manufacturing orders for new 14-inch and 16-inch MacBook Pro models with Mini-LED displays in the first quarter of 2021, according to Taiwanese research firm TrendForce. Rumors of a 14-inch MacBook Pro have surfaced since Apple replaced the 15-inch MacBook Pro with a new 16-inch model last year. Apple analyst Ming-Chi Kuo has previously said that...

Leaker: 'iPhone 12 Pro' to Come With 6GB of RAM

Friday July 10, 2020 1:59 am PDT by
Later this year, Apple is expected to release four OLED iPhones in three display sizes, including 5.4, 6.7, and two 6.1-inch models. Rumors suggest the 6.7-inch iPhone and one 6.1-inch model will be higher-end devices, and now leaker @L0vetodream has corroborated previous rumors about the internal specs of Apple's upcoming lineup. Rumors suggest Apple will use 5-nanometer A14 chips in its...

Developer's Visual Comparison of macOS Catalina and Big Sur Offers Closer Look at Apple's UI Redesign for Macs

Tuesday July 7, 2020 4:00 am PDT by
macOS 11 Big Sur is the next major release of Apple's operating system for Mac, and following its preview at WWDC, one of the biggest discussions has revolved around the all-new user interface redesign. Developers are still learning what the impact the new UI will have on their apps, and with that in mind, app designer Andrew Denty has compiled an extensive visual comparison of the user...

Apple's Arm-Based Macs With Apple Silicon Chips Will Support Thunderbolt

Wednesday July 8, 2020 3:14 pm PDT by
Apple is working on Macs that use its custom Apple-designed Apple Silicon chips instead of Intel chips, but Apple has committed to continuing to support Thunderbolt, reports The Verge. In a statement, an Apple spokesperson said that Apple's upcoming machines will offer support for Intel's Thunderbolt USB-C standard. "Over a decade ago, Apple partnered with Intel to design and develop...

Kuo: Apple Silicon Macs to Include 13-inch MacBook Pro and MacBook Air This Year, 14.1-inch and 16-inch MacBook Pro Models Next Year

Friday July 10, 2020 2:58 am PDT by
At last month's WWDC, Apple officially announced that its Mac computers will be transitioned from Intel x86 to homegrown Apple Silicon chips. Apple said it plans to deliver the first Apple Silicon Mac by the end of the year and complete the transition in about two years. According to Apple analyst Ming-Chi Kuo, a 13.3-inch MacBook Pro with a form factor similar to the current 13.3-inch...