Program the Internet of Things with Swift for iOS, 2nd Edition

Learn How to Program Apps for the Internet of Things

Book Description

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 designpatterns 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!

Use Apple's native IoT Frameworks, such as HealthKit, HomeKit, and FaceID; Interact with popular third-party hardware, such as the Raspberry Pi, Arduino, and FitBit; Work with real projects to develop skills based in experience; Make a smarter IoT with SiriKit and CoreML.