Learning WatchKit Programming: A Hands-On Guide to Creating watchOS 2 Applications

Learning WatchKit Programming: A Hands-On Guide to Creating watchOS 2 Applications

by Wei-Meng Lee
Learning WatchKit Programming: A Hands-On Guide to Creating watchOS 2 Applications

Learning WatchKit Programming: A Hands-On Guide to Creating watchOS 2 Applications

by Wei-Meng Lee

eBook

$24.49  $32.19 Save 24% Current price is $24.49, Original price is $32.19. You Save 24%.

Available on Compatible NOOK Devices and the free NOOK Apps.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Create Breakthrough Apple Watch Apps with the New watchOS 2 and the Updated WatchKit Framework!

 

Apple Watch is improving quickly: Using Apple’s new watchOS 2 operating system and the updated WatchKit framework, you can create tomorrow’s hottest wearable apps. Learning WatchKit Programming, Second Edition, will help you master these technologies and gain the same “early mover” advantage that early iPhone developers enjoyed.

 

Leading iOS development trainer and author Wei-Meng Lee guides you step by step through architecting, designing, and building cutting-edge Apple Watch apps. You’ll learn how to make the most of the newest platform improvements, including direct programmatic access to key hardware features; support for new Watch Connectivity Framework APIs; and new ways to use location, consume web services, and persist data.

 


Product Details

ISBN-13: 9780134399157
Publisher: Pearson Education
Publication date: 11/23/2015
Series: Learning
Sold by: Barnes & Noble
Format: eBook
Pages: 288
File size: 27 MB
Note: This product may take a few minutes to download.

About the Author

Wei-Meng Lee is a technologist and founder of Developer Learning Solutions ( www.learn2develop.net), a technology company specializing in hands-on training on the latest Web and mobile technologies. Wei-Meng speaks regularly at international conferences and has authored and co-authored numerous books on .NET, XML, Android, and iOS technologies. He writes extensively for InformIt.com and Mobiforge.com.

Table of Contents

Preface xiii

Acknowledgments xvii

About the Author xix

 

Chapter 1: Getting Started with WatchKit Programming 1

Specifications of the Apple Watch 1

Getting the Tools for Development 2

Understanding the WatchKit App Architecture 3

Types of Apple Watch Applications 6

Hello, World! 7

Summary 15

 

Chapter 2: Apple Watch Interface Navigation 17

Interface Controllers and Storyboard 17

Navigating between Interface Controllers 22

Summary 48

 

Chapter 3: Responding to User Actions 49

Using the Tap Gesture to Interact with Controls 49

Summary 72

 

Chapter 4: Displaying and Gathering Information 73

Displaying Information 73

Gathering Information 106

Laying Out the Controls 111

Force Touch 115

Summary 123

 

Chapter 5: Accessing the Apple Watch Hardware 125

Making Phone Calls and Sending Messages 125

Recording Audio 127

Digital Crown 130

Accelerometer 131

Taptic Engine 134

Summary 136

 

Chapter 6: Programming Complications 137

Introducing the ClockKit Framework 138

Building a Movie Showtime Complication Example 141

Summary 159

 

Chapter 7: Interfacing with iOS Apps 161

Introducing the Watch Connectivity Framework 161

Connecting to the Outside World 185

Saving Data 198

Summary 203

 

Chapter 8: Displaying Notifications 205

What Is a Notification? 205

Types of Notifications on the Apple Watch 208

Summary 235

 

Chapter 9: Displaying Glances 237

What Is a Glance? 237

Implementing Glances 238

Making the Glance Useful 244

Updating the Glance 249

Summary 252

 

Index 253

From the B&N Reads Blog

Customer Reviews