Cargando…

Apple Watch app development /

Build real-world applications for the Apple Watch platform using the WatchKit framework and Swift 2.0About This BookFind out how to download and install the Xcode development tools before learning about Xcode playgrounds and the Swift programming languageDiscover everything you need to know about th...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Daniel, Steven F. (Computer software developer) (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing 2016.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; Acknowledgements; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing the Swift Programming Language; Registering as an Apple developer; Getting and installing Xcode development tools; Introduction to Xcode playgrounds; Introduction to the Swift language; Variables, constants, strings, and semicolons; Variables; Constants; Strings; Semicolons; Numeric types and conversion; Booleans, tuples, and string interpolation; Booleans; Tuples; String interpolation; Controlling the flow; The for ... in loops.
  • What's new in Swift 2.0Error handling; Binding; Protocol extensions; Summary; Chapter 2: Understanding Apple Watch; Introduction to the WatchKit platform; Introducing the WatchKit application architecture; Introducing the WatchKit application life cycle; Introducing the WatchKit classes; Limitations of the WatchKit platform; Apple Watch Human Interface Guidelines; What's new in watchOS 2; Watch faces; Photos; Time-Lapse; Time travel; Nightstand mode; Activation Lock; FaceTime audio; Social features; Summary; Chapter 3: Exploring WatchKit Controls; Building the Guessing Game application.
  • Using Interface Builder to create the watch user interfaceAdding our user interface controls
  • text and labels; Creating Outlets to our Interface Builder objects; Creating Actions that respond to user actions; Building and running the Guessing Game application; Summary; Chapter 4: Using the Core Location and Watch Connectivity Frameworks; Creating the navigation tracking application; Building the Watch Tracker application
  • iPhone; Adding and removing annotation placeholders; Handling requests for background location updates; Building and running the Watch Tracker application.
  • Building the Watch Tracker application
  • WatchKitLimitations of using Core Location within watchOS 2; Using Interface Builder to create the Watch Tracker UI; Creating the Outlets for our Interface Builder objects; Creating an Action event to handle our map zooming; Using Core Location with the WatchKit extension; Communicating between the iPhone app and the WatchTracker WatchKit extension; Integrating the Watch Connectivity framework
  • iPhone app; Integrating the Watch Connectivity framework
  • WatchKit extension; Building and running the Watch Tracker application; Summary.
  • Chapter 5: Navigating Around in WatchKitBuilding the Health Monitor application; Understanding page-based interfaces and navigation; Understanding modal interfaces and navigation; Understanding hierarchical interfaces and navigation; Integrating the HealthKit framework to handle updates; Integrating the HealthKit framework
  • iPhone app; Building the Health Monitor application
  • WatchKit; Creating the profile details interface controller's WatchKit class; Creating the Outlets for our Interface Builder objects; Creating an Action event to handle our Start Monitoring button.