Launch apps with complications

Keyboard Shortcuts

Create two complications that launch an app without coding. Learn the classes needed to include a complication that launches your application. Add the required Icons. Add the complication to the watch simulator. Customize the simulator with the complications.

- [Instructor] Many apps don't need to display information…on the watch face.…The complication is a quick way to launch the application…from the watch face.…Examples are the Heartrate, Maps, Exercise,…and Breathe apps.…I'll show you in this video how to set up an app…with a complication that launches into an application…at half the foundation for timeline complications.…Start by opening a new Xcode iOS app…with WatchKit app, project called PizzaStatus.…For this project, de-select the Include Notification Scene.…

Select Include the Complication.…This will include the clock kit libraries…and set up the basics of the necessary data sources…to use complications.…Save the project.…Usually you buzz past the application properties page.…This time, select the PizzaStatus WatchKit extension.…About halfway down, you'll see the complication families.…Apple recommends using all the complication families,…but for this one, I will only use Utilitarian Large,…which is found on the default watch face in the simulator.…

Deselect the rest.…

Resume Transcript Auto-Scroll

Author

Released

11/3/2016

Apple Watch is the hot new platform for developers. Demand is high, competition is low, and with Xcode 8, development is easier than ever. Watch this course to learn how to develop and deploy a native Apple Watch application for watchOS 3 using Xcode and Swift. Steve Lipton breaks down the parts of a watchOS app, pointing out key differences between iOS and macOS designs, including haptics, the digital crown, and complications—the "quick access" icons that appear on the watch face. Then he shows how to develop a lean and mean interface with Interface Builder, complete with images, navigation, text inputs, switches and sliders, and media. Next, he shows how to write the code itself, including notifications and complications, and connect objects to the code. By the end of the course, you'll know how to build a complete watchOS app that's ready for distribution.