Thanks to Tina for providing us all with the following, latest updates from WWDC! Get your Apple Watch fix below.

Outwarians at WWDC

These notes are a summary of multiple Apple Watch related sessions throughout the first three days of WWDC. We are very excited that Apple has finally released native watchOS, together with many new interesting features. This means we are now able to be more innovative and creative with our watch apps.

What’s new in WatchOS 2?

Architecture

In the first watchOS, the watch only contains WatchKitApp which is the UI part of the application and all logic is in WatchKitExtension which is located in the main iOS application. In watchOS 2, WatchKitExtensionmoves over to run natively on the watch, so now it contains both WatchKitApp and WatchKitExtension. The watch can communicate with the iOS app via WatchConnectivity framework. In addition, it can talk directly to the web services using NSURLSession. This means that the watch app still work even your iPhone is not presented or out of range!

3 Brand New Frameworks

  1. WatchKit
  2. WatchConnectivity
  3. ClockKit

Complications

Developers can now make their own complications which are displyed on the watch faces. A complication is a customisable widget on your watch face.

Time Travel

Apple has introduced new feature which is called Time Travel which lets you speed forward in time by rotating the digital crown. You will be able to see what is coming in the day, including your watch battery percentage.

Media Playback + Audio Recording

Apple now supports media playback and audio recording. It can play

  • Videos through WKInterfaceMovie
    • which give a full screen video standard appearance.
    • The video content can be stored locally or remotely.
    • Good to playback short contents.
  • Long-form audio
    • Suitable for playback long form audio, such as, Podcasts or music.
    • Media is playing in background.

Haptic

Apple took a watch experience to another level with Taptic Engine. Users will come to know a feeling and sound of each individual haptic and what it means in the context of the application. They now can be delivered information without having to raise their wrist. To play Haptic, you can simply callWKInterfaceDevice.currentDevice().playHaptic(.click).

Security

In watchOS2, you now can store user sensitive data in Keychain which is now made available on the watch. You can make the data available only when the device is unlock and when the user lower their wrist, the data will become unavailable.

How to migrate from watchOS 1 to watchOS 2

If you have already started developing watchOS 1 and want to migrate to watchOS 2. Apple has provides a detailed guideline which can be found here.

For more in-depth information, checkout WatchKit in-depth part 1 and part 2.

P.S. We finally got to meet meet the legendary Kent (Outwarian Alumni)!

 

Comments are closed