Apple Watch is the sort of science-fiction gadget that people used to dream about as kids. What kinds of apps do you envision for this new device? If you’re comfortable using OS X, Xcode, and iOS—and familiar with Swift—this concise book shows you the basics of building your own apps for this wrist-mounted computer with Apple’s WatchKit framework.
You’ll learn what an Apple Watch is, what it isn’t, and how and why people might interact with apps you build for it. This practical guide also examines the type of apps most suitable for this device, and shows you how to be a good citizen in the iOS/Watch ecosystem.
Learn the Watch app lifecycle, and understand how these apps interact with the user’s iPhone
Build a Watch app and its iOS counterpart by adding controls, working with multiple screens, and sharing data
Design a simple glance, the non-interactive Watch component that provides quick-look information
Add functionality to the notification system, including actionable items, and display them on the Watch face
Design and build complications, Watch-face gadgets that can display quick snapshots of information, including future events with Time Travel
Jon Manning is a world renown iOS development trainer and writer, game designer and mobile software engineering wizard.
He has co-authored two books on mobile development and enjoys re-implementing such things as OpenGL and the Objective-C runtime (in his spare time).Jon is also a researcher in Human-Computer Interaction working towards a PhD.
The animal on the cover of Swift Development for the Apple Watch is an alpine swift(Tachymarptis melba). The fastest member of the swift family, alpine swifts are nativeto southern Europe and the Himalayas and migrate as far as southern Africa.
Although alpine swifts have very short legs that are useful for clinging to rocky surfaces,they prefer never to settle on the ground. Instead, swifts spend the majority oftheir lives in the air and can stay aloft for up to six months at a time. All essentialfunctions—eating, drinking, and sleeping—can be performed during flight.
The need to roost is the only thing that will compel an alpine swift to land, and theyprefer to build their nests on the sides of cliffs or mountains. Alpine swifts pair forlife and will return to the same sites year after year to rebuild and repair nests. Swiftshave taken well to the development of cities along the Mediterranean, where oldbuildings provide excellent spaces for roosting and laying eggs.