Top 3 Developer Takeaways from WWDC 2015

iOS 9 running on iPhones. Image credit: Apple.

iOS 9 running on iPhones. Image credit: Apple.

By Calvin Lai

By now, technologists have likely heard about what Apple unveiled about WatchOS 2, iOS 9 and OS X El Capitan during WWDC last week. There was plenty of buzz in Apple’s keynote for consumers, as we talked about in an earlier blog, but here are our top three things developers should know about the event.

1. iOS 9 + iPad Multitasking

iPad Air 2 multitasking

Multitasking with iOS 9. Image credit: Apple.

For productivity, the biggest difference between OS X and iOS apps has been multitasking. iOS traditionally runs a single app at a time, taking up full screen. While that works for apps that require focus, iOS 9’s new multitasking features lets you view two apps simultaneously for improved productivity. If you find yourself in a situation where you need to do research on the web while writing, or you want to watch a video while browsing your Twitter feed, you can do that in iOS9.

When running apps in multitasking mode, apps will have higher demand on an iPad’s processing and memory resources. For developers, this new mode of consuming apps necessitates new techniques to get your apps to work responsively as multitasking constrains resources.

A session titled “Optimizing Your App for Multitasking on iPad in iOS 9” deep dives into the details on what developers can do to design responsive apps. Topics covered include how the operating system manages memory during multitasking, lazy loading techniques that balance processor and memory resources, and a Memory Mapped Data API that allows developers to take advantage of a flash storage-based virtual memory system.

2. Stack View for iOS

Auto Layout provides a powerful tool for developers to build complex user interfaces. Traditional Auto Layout however requires developers to create and maintain voluminous layout constraint rules that can add complexity when building user interfaces.

With the new addition of NSStackView in iOS 9, developers can now lay out views arranged in a column or a row without going through the lengthy process of creating layout constraints on individual screen elements. Under the hood, stack view leverages Auto Layout transparently to create views that can respond to screen size, device orientation and available space changes.

In the session “Mysteries of Auto Layout, Part 1”, Apple introduces new Stack View support in XCode Interface Builder, the how to of building complex UIs by nestings multiple Stack Views, and tips and tricks for productivity with Interface Builder.

3. watchOS 2

Apple’s watchOS2 is the star of the show in this year’s WWDC, and with the new OS comes native watch app support. To date, third party watch apps have needed the phone nearby to work correctly; WatchKit for watchOS2 introduces enhancements that allow watch apps to function richer independent of a nearby phone.

Apple introduces the new OS in the session titled “Introducing WatchKit for watchOS2”. With the new animation APIs, developers can now build apps with more dynamic and fluid user interfaces. API access to video and audio recording will allow you to build apps that weren’t possible before. And the addition of Taptic engine and Digital Crown API allows for apps with richer, tactile experiences.

What’s next

You can learn more on what’s new from the recorded videos of all WWDC 2015 sessions. Apple is building a smarter and more expansive ecosystem, from what you wear on your wrist to the computing devices we use daily. These videos give us a glimpse on what’s next in the Apple ecosystem, and it’s now our turn to build compelling experiences with it.

Calvin Lai is an App Practice Lead for Datacom’s Mobile Innovation team. 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s