watchOS by Tutorials
I wrote six chapters in watchOS by Tutorials, a book about the WatchKit framework.
The book takes the unique approach that every chapter uses a full-fledged separate app. You get lots of experience will all the different features and frameworks, including gestures, snapshots, SpriteKit & SceneKit, localization, and accessibility. You build apps for watchOS 3 using Xcode 8 and Swift 3.
The book targets intermediate developers who already have some experience with Swift and iOS.
On this page, you can check out video demos for five of my chapters' apps. If you like what you see, buy the book to get the source code and to learn how to build each of them.
Move, zoom, and inspect graphs with the Digital Crown and touch gestures.
Campus shows you a graph of the number of employees at an office throughout the day. Security staff use the app to monitor how many employees are on the campus at any given time. It also empowers them to spot any irregularities in the badge-in procedures. You'll add both Digital Crown interaction and gesture interaction to the app so that the interface responds in remarkable ways.
Source: Chapter 9: "Digital Crown and Gesture Recognizers" in watchOS by Tutorials.
Sports app with context-sensitive Dock snapshots.
UHL is the official app for the Underwater Hockey League. You may not have heard of this sport before, and you're not alone. Underwater hockey has a cult following. Two teams maneuver a puck across the bottom of a swimming pool. Many fans cheered for joy when they found out they could wear their Apple Watch during games, since series 2 watches are water resistant to a depth of 50 meters.
Source: Chapter 10: "Snapshot API" in watchOS by Tutorials.
SpriteKit & SceneKit game using the accelerometer.
Escape is a game where your objective is to roll towards the light emanating from the single opening in the wall. If you run into the wall, the game ends. Each opening leads to the next level.
Source: Chapter 18, "Interactive Animation with SpriteKit and SceneKit" in watchOS by Tutorials.
I built the open source SKTRings library as I wrote this chapter.
Internationalized app for tracking corporate sales.
Progress is an enterprise app built for an international company with operations ranging from food production to military hardware. It has recently been involved in the political scene, but most of the time, the company flies under the radar.
One important aspect of the company’s culture is to always watch the numbers. Management says this will help the company shake off a few punitive slaps on the wrist it received last year for, er, “financial shenanigans”.
This app lets an employee see how close the company is to meeting its sales goals. It shows units sold and total revenue for the day, week and month. The company wants to deploy the app across divisions located in different countries.
The app has been adapted to support linguistic, regional, and cultural differences.
Source: Chapter 26, "Localization" in watchOS by Tutorials.
Accessibility friendly view of the daily largest percentage change stocks.
BigMovers shows the stocks with the biggest gains or losses for the day. The app draws each stock's graph in real time and renders it as an image. It sorts the list of stocks by those that had the highest percentage change, positive or negative. The app is accessible for users with visual impairments with an interface that works with VoiceOver.
Source: Chapter 27, "Accessibility" in watchOS by Tutorials.