Learning Watchkit Programming : A Hands-On Guide to Creating watchOS 2 Applications (Learning) (2ND)

Learning Watchkit Programming : A Hands-On Guide to Creating watchOS 2 Applications (Learning) (2ND)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 262 p.
  • 言語 ENG
  • 商品コード 9780134398983
  • DDC分類 004.1675

Full Description


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.Using practical Swift code examples designed for clarity and simplicity, Lee guides you through building apps from the ground up. You'll learn how to build native watch apps that perform exceptionally well on their own and how to integrate your apps with iPhones to do even more.Coverage includesWriting high-performance, native watch apps that run independently of the iPhone Accessing hardware, including Digital Crown, microphone, and Taptic Engine Storyboarding apps and testing them on the Apple Watch Simulator Mastering Apple Watch's multiple-screen navigation Building efficient interfaces with Apple Watch UI controls Creating and programming "complications"-apps that display data on the watch face, such as alarms, tachymeters, chronographs, and calendars Displaying information via labels, images, or tables Passing and returning data to Interface Controllers Integrating location services into Apple Watch apps Using Watch Connectivity Framework APIs to link watch and iOS apps Calling and consuming web services Persisting data on the watch Displaying short- and long-look notifications Implementing glances to help users gather information faster This guide will help you extend your existing iOS skills, build apps that solve a whole new set of problems, and reach millions of people in the fast-growing Apple Watch marketplace.All of this book's sample Swift code is available for download at informit.com/title/9780134398983. (Register your book to gain access.)

Contents

Preface xiiiAcknowledgments xviiAbout the Author xixChapter 1: Getting Started with WatchKit Programming 1Specifications of the Apple Watch 1Getting the Tools for Development 2Understanding the WatchKit App Architecture 3Types of Apple Watch Applications 6Hello, World! 7Summary 15Chapter 2: Apple Watch Interface Navigation 17Interface Controllers and Storyboard 17Navigating between Interface Controllers 22Summary 48Chapter 3: Responding to User Actions 49Using the Tap Gesture to Interact with Controls 49Summary 72Chapter 4: Displaying and Gathering Information 73Displaying Information 73Gathering Information 106Laying Out the Controls 111Force Touch 115Summary 123Chapter 5: Accessing the Apple Watch Hardware 125Making Phone Calls and Sending Messages 125Recording Audio 127Digital Crown 130Accelerometer 131Taptic Engine 134Summary 136Chapter 6: Programming Complications 137Introducing the ClockKit Framework 138Building a Movie Showtime Complication Example 141Summary 159Chapter 7: Interfacing with iOS Apps 161Introducing the Watch Connectivity Framework 161Connecting to the Outside World 185Saving Data 198Summary 203Chapter 8: Displaying Notifications 205What Is a Notification? 205Types of Notifications on the Apple Watch 208Summary 235Chapter 9: Displaying Glances 237What Is a Glance? 237Implementing Glances 238Making the Glance Useful 244Updating the Glance 249Summary 252Index 253

最近チェックした商品