Program the internet of things with Swift for iOS. (2016)
- Record Type:
- Book
- Title:
- Program the internet of things with Swift for iOS. (2016)
- Main Title:
- Program the internet of things with Swift for iOS
- Further Information:
- Note: Ahmed Bakir, Gheorghe Chesler, Manny de la Torriente.
- Authors:
- Bakir, Ahmed
Chesler, Gheorghe
Torriente, Manny de la - Contents:
- 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 PermissionAt 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. … (more)
- Publisher Details:
- Berkeley, California : Apress
- Publication Date:
- 2016
- Copyright Date:
- 2016
- Extent:
- 1 online resource (xxv, 494 pages), color illustrations
- Subjects:
- 005.1
Computer science
Application software -- Development
Swift (Computer program language)
Internet of things
COMPUTERS -- Software Development & Engineering -- Tools
Application software -- Development
Internet of things
Swift (Computer program language)
Computers -- Computer Science
Computer science
Computer Communication Networks
Computers -- Hardware -- Network Hardware
Network hardware
Electronic books - Languages:
- English
- ISBNs:
- 9781484211946
1484211944 - Related ISBNs:
- 9781484211953
1484211952 - Notes:
- Note: Online resource; title from PDF title page (SpringerLink, viewed January 11, 2016).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.359743
- Ingest File:
- 01_323.xml