Program the internet of things with Swift for iOS

  • 0 Ratings
  • 3 Want to read
  • 0 Currently reading
  • 0 Have read

My Reading Lists:

Create a new list

Check-In

×Close
Add an optional check-in date. Check-in dates are used to track yearly reading goals.
Today

  • 0 Ratings
  • 3 Want to read
  • 0 Currently reading
  • 0 Have read

Buy this book

Last edited by ImportBot
February 11, 2022 | History

Program the internet of things with Swift for iOS

  • 0 Ratings
  • 3 Want to read
  • 0 Currently reading
  • 0 Have read

Program the Internet of Things with Swift and iOS is a detailed tutorial that will teach you how to build apps using Apple?s native APIs for the Internet of Things, including the Apple Watch, HomeKit, and Apple Pay. This is the second book by Ahmed Bakir (author of Beginning iOS Media App Development) and his team at devAtelier LLC, who have been involved in developing over 20 mobile projects. Written like a code review, this book presents a detailed "how" and "why" for each topic, explaining Apple-specific design patterns as they come up and pulling lessons from other popular apps. To help you getting up and running quickly, each chapter is framed within a working project, allowing you to use the sample code directly in your apps. The Internet of Things is not limited to Apple devices alone, so this book also explains how to interface with popular third-party hardware devices, such as the Fitbit and Raspberry Pi, and generic interfaces, like Restful API?s and HTTPS. The Internet of Things is waiting? be a part of it!

Publish Date
Publisher
Apress
Language
English
Pages
494

Buy this book

Previews available in: English

Edition Availability
Cover of: Program the internet of things with Swift for iOS
Program the internet of things with Swift for iOS
2016, Apress
in English

Add another edition?

Book Details


Table of 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 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.

Edition Notes

Includes index.

English.

Published in
[Berkeley, California]
Copyright Date
2016

Classifications

Dewey Decimal Class
005.1
Library of Congress
QA76.76.D47 B36 2016

The Physical Object

Pagination
1 online resource (xxv, 494 pages)
Number of pages
494

ID Numbers

Open Library
OL37049449M
Internet Archive
programinterneto0000baki
ISBN 10
1484211944, 1484211952
ISBN 13
9781484211946, 9781484211953
OCLC/WorldCat
933784094

Community Reviews (0)

Feedback?
No community reviews have been submitted for this work.

Lists

This work does not appear on any lists.

History

Download catalog record: RDF / JSON
February 11, 2022 Created by ImportBot import new book