Go to main content
Formats
Format
BibTeX
MARCXML
TextMARC
MARC
DublinCore
EndNote
NLM
RefWorks
RIS
Cite

Linked e-resources

Details

At a Glance; Contents; About the Authors; About the Technical Reviewer; Introduction; Chapter 1: Building Your First Internet of Things App; Ahmed Bakir; Setting up the Project; Building the User Interface; Creating the Table View Controller; Connecting to a Table View Controller; Creating an Add Button; Selecting a Template; Creating the Map View Controller; Requesting Location Permission; Accessing the User's Location; Displaying the User's Location; Populating the Table View; Populating the Map; Summary; Chapter 2: Getting Started with Swift; Ahmed Bakir

Why Use Swift? Basic Swift Syntax; Calling Methods (Hello World); Defining Variables; Compound Data Types; Conditional Logic; Enumerated Types; Loops; Object-Oriented Programming in Swift; Building a Class; Protocols; Method Signatures; Accessing Properties and Methods; Instantiating Objects; Strings; Formatting Strings; Collections; Casting; Swift-Specific Language Features; Optionals; Try-Catch Blocks; Mixing Objective-C and Swift in Projects; Calling Swift from Objective-C; Summary; Chapter 3: Accessing Health Information Using HealthKit; Introduction

Getting Started Setting Up the User Interface; Setting Up the Project for HealthKit; Prompting the User for HealthKit Permission; Retrieving Data from HealthKit; Displaying Results in a Table View; Fetching Background Updates ; Summary; Chapter 4: Using Core Motion to Save Motion Data; Introduction; Using Core Motion to Access Motion Hardware; Requesting User Permission for Motion Activity; Querying for Step Count; Detecting Live Updates to Step Count; Detecting Activity Type ; Saving Data to HealthKit; Summary

Chapter 5: Integrating Third-Party Fitness Trackers and Data Using the Fitbit API Gheorghe Chesler; Introduction to the Fitbit API; The RESTful API; The Return Format; Fitbit RESTful API Implementation Details; Setting Up a Local Playground with Apache; Creating the Test Documents; The OAuth1.0a Authentication Model; The Fitbit OAuth Implementation ; Fitbit API Call Rate Limits; The Client+Viewer Rate Limit ; The Client Rate Limit ; Response Headers ; Hitting the Rate Limit ; Making async Calls ; Using callbacks as Parameters; Setting up a Fitbit-compatible iOS Project

The View Controller The Logger Library; Setting up a Basic Set of Crypto Functions; Crypto.swift ; The API Client Library ; The Code for APIClient.swift; The OAuth Library ; Signing the Request; Creating the OAuth H; The code for OAuth1a.swift ; Testing What We Have so Far; Making requests to the Fitbit API; Retrieving the User Profile ; Retrieving and Setting Data in the API; Getting the Blood Pressure; Setting the Blood Pressure; Logging the Body Weight ; OAuth versions: Working in both worlds; Summary; Chapter 6: Building Your First watchOS App; Introduction

Browse Subjects

Show more subjects...

Statistics

from
to
Export