Muutke küpsiste eelistusi

Developing for Apple Watch, 2e [Pehme köide]

  • Formaat: Paperback / softback, 200 pages, kõrgus x laius x paksus: 234x192x12 mm, kaal: 370 g
  • Ilmumisaeg: 10-Jun-2016
  • Kirjastus: The Pragmatic Programmers
  • ISBN-10: 168050133X
  • ISBN-13: 9781680501339
  • Pehme köide
  • Hind: 35,64 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 200 pages, kõrgus x laius x paksus: 234x192x12 mm, kaal: 370 g
  • Ilmumisaeg: 10-Jun-2016
  • Kirjastus: The Pragmatic Programmers
  • ISBN-10: 168050133X
  • ISBN-13: 9781680501339

You've got a great idea for an Apple Watch app. But how do you get your app from idea to wrist? This book shows you how to make native watchOS apps for Apple's most personal device yet. You'll learn how to display beautiful interfaces to the user, how to use the watch's heart rate monitor and other hardware features, and the best way to keep everything in sync across your users' devices. New in this edition is coverage of native apps for watchOS 2. With the new version of the WatchKit SDK in Xcode 7, your apps run directly on the watch.

On Apple Watch, your app is right on your users' wrists, making your code closer than ever before. Create native watchOS apps by extending your iPhone app with a WatchKit Extension, giving your users quick access to your app's most important features and an intimate user experience that's always within arm's reach.

You won't just be creating apps - with Glances to provide timely information, notifications to inform your users of the latest updates, and watch face complications to show your users data as soon as they raise their wrists, your watchOS apps will be the best the App Store has to offer.

Any book can teach you how to make a watch app. This book will help focus your efforts and refine your app's feature set. Which features make sense on the watch? How should you organize them? You'll learn what to consider when judging watch app features, allowing you to come up with the best strategy for your app. You'll test your apps on real Apple Watch hardware, and by the end of this book, you'll be ready to ship to the App Store.

What You Need:

You'll need a Mac running OS X Yosemite capable of running Xcode 7 or later. To build your apps for your Apple Watch, you'll need to be running watchOS 2 or later, connected to a compatible iPhone.

Acknowledgments ix
Preface xi
1 An Overview of Apple Watch
1(6)
Apple Watch Basics
1(1)
Apple Watch App-Design Concepts
2(1)
From iPhone App to Apple Watch App
3(3)
Wrap-Up
6(1)
2 WatchKit Extension Overview
7(8)
Creating Your First WatchKit Extension
7(2)
Adding User Interface Elements
9(1)
Adding a Glance
10(2)
The iPhone App--WatchKit Extension Relationship
12(1)
Deployment of WatchKit Apps
13(1)
Wrap-Up
14(1)
3 WatchKit User Interfaces
15(16)
Meet WKInterfaceObject
15(6)
Creating Interface Objects
21(1)
Designing Your UI in the Storyboard
21(2)
Interface Object Layout
23(1)
Creating Your Apple Watch App
24(6)
Wrap-Up
30(1)
4 Organizing Your UI with Groups
31(12)
Group Basics
31(2)
Adding Detail to a Screen
33(4)
Animation and Groups
37(4)
Wrap-Up
41(2)
5 Delivering Dynamic Content with Tables
43(14)
Comparing WatchKit Tables and iOS Table Views
43(1)
Row Types and Storyboard Groups
44(2)
Linking Content to the UI with Row Controllers
46(1)
Configuring the Content in Tables
47(4)
Modifying Tables
51(2)
Considering Table Input
53(1)
Performance Concerns
54(1)
Wrap-Up
55(2)
6 Navigating Between Interfaces
57(26)
Linking Interfaces in Your Storyboard
57(5)
Interface Transitions in Code
62(4)
Passing Data Between Interfaces
66(6)
Configuring Tracks in TapALap
72(9)
Wrap-Up
81(2)
7 WatchKit Extension Lifecycle
83(8)
Adding Lifecycle Methods
83(5)
Adopting Handoff in the Extension Delegate
88(1)
Responding to Notifications
89(1)
Wrap-Up
90(1)
8 Communicating with WatchConnectivity
91(22)
Making Network Requests on Apple Watch
91(1)
Preparing for WatchConnectivity: Persisting Data in TapALap
92(5)
Talking to the iPhone with WatchConnectivity
97(14)
Wrap-Up
111(2)
9 Creating Complications with ClockKit
113(20)
Watch Faces and Complications
113(3)
Providing Complications in Your App
116(13)
Managing Complication Privacy
129(1)
Providing Placeholder Complications
130(1)
Restricting Complication Families
131(1)
Wrap-Up
132(1)
10 Extending Complications with Time Travel
133(12)
Making Your Complication Excellent with Time Travel
133(7)
Updating Complications
140(4)
Wrap-Up
144(1)
11 Getting Personal with Sensor Data and HealthKit
145(22)
Getting Device Motion with the CoreMotion Framework
145(6)
Working Out with HealthKit
151(14)
Wrap-Up
165(2)
12 Unlocking Watch App Performance
167(10)
Making Apps Launch Quickly
167(3)
Increasing Performance by Removing Data
170(2)
Inspecting Performance with Instruments
172(2)
The Illusion of Performance: Preloading Data
174(1)
Wrap-Up
175(2)
13 Being a Good Watch App Citizen
177(14)
Localizing and Internationalizing Your App
177(8)
Supporting Every User with Accessibility
185(5)
Wrap-Up
190(1)
Index 191
Jeff Kelley has been developing iOS apps since the SDK's release in 2008. He has developed apps for major clients, and his apps have been in the top 10 list of the App Store, featured in national television campaigns, and demonstrated by corporate executives. Jeff has spoken at conferences around the United States, and when not writing, develops apps for clients in Detroit, MI.