Program the Internet of Things with Swift for IOS :
[Book]
Learn How to Program Apps for the Internet of Things.
2nd ed.
Berkeley, CA :
Apress L.P.,
2018.
1 online resource (462 pages)
Using Core Bluetooth to Communicate with Bluetooth LE Devices
Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Part 1: Building Health Apps for the Internet of Things; Chapter 1: Laying the Foundation for Your First IoT App; Learning Objectives; Setting Up the Project; Linking Your Apple Developer Account to Xcode; Building an Adaptive User Interface; Renaming Classes from the Base Template; Laying Out the User Interface; Applying Auto Layout Constraints; Customizing the Appearance of Items; Resolving Auto Layout Issues; Connecting the Storyboard to Your Code
Defining Interface Builder-Compatible Properties and Methods (Actions)Using the Connection Inspector to Make the Final Storyboard Connections; Summary; Chapter 2: Using Core Location to Build a Workout Tracking App; Learning Objectives; Configuring Your Project for Background Location Activity; Requesting Location Permission; Checking for Hardware Availability; Responding to Changes in Location Permission Status; Asking the User to Change App Settings; Requesting Location Updates; Responding to Location Updates; Programmatically Enabling Background Updates; Displaying Location Data on a Map
Requesting HealthKit PermissionWriting Data to HealthKit; Understanding How HealthKit Represents Data; Creating and Saving HealthKit Samples; Reading Workout Data from HealthKit; Using a Table View Controller to Display Data; Setting Up the User Interface; Using the UITableViewDataSource Protocol to Populate the Table View; Using the UITableViewDelegate Protocol to Map Data to Cells; Summary; Part 2: Building Your Own Internet Things; Chapter 5: Building Arduino-Based Peripherals; Learning Objectives; Building the Wireless Door-Sensor Hardware; Part List; Assembling the Hardware
Using the Codable Protocol for File-Based Data StorageImplementing File I/O; Using the map() Method to Serialize Data; Displaying Saved Locations on a Map; Summary; Chapter 3: Using Core Motion to Add Physical Activity Data to Your Apps; Learning Objectives; Requesting Motion Permission from the User; Receiving Real-Time Step Count Updates from the iPhone's Pedometer; Updating the User Interface; Stopping and Pausing Pedometer Updates; Getting Activity Type; Handling Altimeter Updates; Summary; Chapter 4: Using HealthKit to Securely Retrieve and Store Health Data; Learning Objectives
Writing an Arduino Solution (Program)Setting Up the Arduino Programming Environment; Using GPIO to Monitor Input Pins and Control Output Pins; Calculating Battery Status; Running and Monitoring the Arduino Solution; Summary; Chapter 6: Building a Bluetooth LE Hardware Companion App; Learning Objectives; A Quick Introduction to Bluetooth LE; Adding Bluetooth Functionality to an Arduino Solution; Installing the ESP32_BLE_Arduino Library for Bluetooth Communication; Setting Up the Arduino As a Bluetooth Peripheral; Sending Data Updates via Bluetooth LE
0
8
8
8
8
Learn how to build apps using Apple's native APIs for the Internet of Things, including the Apple Watch, HomeKit, and Apple Pay. You'll also see how to interface with popular third-party hardware such as the Raspberry Pi, Arduino, and the FitBit family of devices. Program the Internet of Things with Swift and iOS is an update to the previous version and includes all new Swift 4 code. This book is a detailed tutorial that provides 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. You'll also review new API's like Face ID and new design considerations, and look more closely at SSL and how to make IoT connected apps more resistant to hackers. The coverage of Apple Watch has been expanded as well. The Internet of Things is waiting - be a part of it!
Springer Nature
com.springer.onix.9781484235133
Program the Internet of Things with Swift for IOS : Learn How to Program Apps for the Internet of Things.