Five things Apple is doing to please developers

Version 2.0 of Swift and upgraded frameworks for Watch apps are on the way

Apple's Xcode development environment, plus iOS and Apple Watch apps

Apple's Xcode development environment, plus iOS and Apple Watch apps

Apple had lots to offer developers at this year's Worldwide Developers Conference keynote. Headline improvements included a new version of the soon to be open sourced Swift programming language and upgraded frameworks for creating more advanced Watch apps.

Developers have played a key part in making Apple the hugely successful company it is today, and with the announcements made in San Francisco on Monday the company hoped to lay the groundwork for developers to be more effective and build better apps. The company's developer programs were merged into a single one, called the Apple Developer program, but that was just the start:

Swift gets better error handling with new version

A year has passed since Apple announced its Swift programming language. Objective-C is still more popular among developers, but Swift is really well-liked, according to Stack Overflow's most recent developer survey. Hoping to convince developers to start using Swift, Apple introduced version 2.0. Key improvements include better performance, a new error handling model, and the ability to more easily target older versions of iOS. Apple has also made changes to the syntax to improve consistency.

Swift will be open sourced and ported for other OSes

Apple's plan for increasing Swift's popularity doesn't just include language improvements. The company will make Swift source code available under an open source license later this year. The source code will include the Swift compiler and the standard library. Contributions from the community will be accepted -- and encouraged, Apple promised. At launch, Apple intends to contribute ports for OS X, iOS, and Linux, it said. This push is a change of pace for Apple, but how committed the company is to cross-platform support remains to be seen. A further sign that Apple's approach to other OSes is changing is the availability of its new streaming service Music on Android.

Xcode also gets an upgrade

Along with Swift 2.0, Apple also made a beta of the Xcode 7 developer platform available for download. It includes Apple's IDE (integrated development environment), a Swift 2 compiler, and the latest SDKs for OS X, iOS, and watchOS. To help take advantage of the improvements in Swift 2.0, developers can use a feature that migrates Swift 1.2 code to the new version. Other improvements to help build better apps include energy usage tracking on a per-process basis, user interface recording and a streamlined mechanism for testing on physical devices. Apple hasn't forgotten about Objective-C developers: a new feature called Address Sanitizer helps prevent memory corruption issues hackers can take advantage of.

Now developers can build native apps for Apple's Watch

The Watch has only been on sale since the end of April, but Apple is already preparing watchOS 2, which should give a boost to developers. The biggest improvement is the ability to build apps that run natively on the smartwatch, instead of having to rely on an iPhone. This change should result in better performance, and should have been there from day one. Developers will also be able to integrate key hardware features like the digital crown, heart rate sensor, accelerometer and microphone in their apps using an upgraded version of the WatchKit framework. The new ClockKit framework will let them post information on the clock face. The iOS 9 SDK beta including WatchKit for watchOS 2 is available for download from Apple's developer website.

Tools for fitness and home automation apps got revamped

The iOS 9 SDK also includes upgraded versions of many of Apple's other frameworks. There are new HomeKit profiles for motorized windows and shades, motion sensors and home security systems. New HealthKit data points make it possible to store information on reproductive health, UV exposure and water intake. Using GameplayKit, developers will be able to build better games, and then use ReplayKit to add video recording features.

Send news tips and comments to mikael_ricknas@idg.com

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags Development toolsmobile applicationsAppleapplication developmentLanguages and standardssoftwaremobile

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Mikael Ricknäs

IDG News Service
Show Comments

Cool Tech

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Breitling Superocean Heritage Chronographe 44

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?