Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Bakir, Ahmed, author.

Title Program the internet of things with Swift for iOS / Ahmed Bakir, Gheorghe Chesler, Manny de la Torriente. [O'Reilly electronic resource]

Publication Info. [Berkeley, California] : Apress, 2016.
New York, NY : Distributed to the Book trade worldwide by Springer
©2016
QR Code
Description 1 online resource (xxv, 494 pages) : color illustrations
text file
PDF
Note Includes index.
Summary 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!
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.
Language English.
Subject iOS (Electronic resource)
iOS (Electronic resource)
Application software -- Development.
Swift (Computer program language)
Internet of things.
Logiciels d'application -- Développement.
Swift (Langage de programmation)
Internet des objets.
Computer science.
Network hardware.
Application software -- Development
Internet of things
Swift (Computer program language)
Added Author Chesler, Gheorghe, author.
Torriente, Manny de la, author.
Other Form: Print version: Bakir, Ahmed. Program the internet of things with Swift for iOS. [Berkeley, California] : Apress, 2016 1484211952 9781484211953 (OCoLC)920869847
ISBN 9781484211946 (electronic bk.)
1484211944 (electronic bk.)
Standard No. 10.1007/978-1-4842-1194-6 doi
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information