With this book, you will learn how to build apps and hardware for the Internet of Things, using Apple's native APIs and industry standard protocols like Bluetooth and HTTPS. You'll start out learning how to access the sensors on the iPhone, move on to building your own accessories using the Arduino and Raspberry Pi, and wrap things up by combining your projects into fully operational Internet of Things systems (who doesn't want their own personal Apple TV dashboard?)
Fully updated for iOS 12 and Swift 4.2, this book is written with the latest coding standards for Swift and provides insight on how to optimize your IoT apps for the best user experience. Written more like a 1:1 lesson than a cookbook, this text guides you through the "how" and "why" of each topic, helping you gain a deeper understanding of the content and making it easier for you to debug your projects by yourself.
If you were a fan of the first edition, you will find more to love in this edition, including easier-to-understand explanations and expanded coverage on building your hardware. Additionally, you will learn about new design considerations that have emerged as the Internet of Things has matured, including how to make your apps and hardware more resistant to hackers.
The Internet of Things is waiting ― be a part of it!
What You'll Learn
• How to harness the power of Apple's native IoT frameworks, including HealthKit, CoreMotion and FaceID
• How to build your own custom IoT hardware using the Arduino and Raspberry Pi
• How to build secure Internet of Things solutions
• How to build apps for Apple's newest devices, including the iPhone XS, Apple Watch, and Apple TV
Who This Book Is For
The primary audience for this book are readers who have a grasp of the basics of iOS development and are looking to improve their Internet of Things-specific skills. Intermediate to Advanced level. The secondary audience would be business decision makers (managers, business analysts, executives) who are looking to gain a rough understanding of what is involved in Internet of Things development for iOS.
Author(s): Ahmed Bakir
Edition: 2
Publisher: Apress
Year: 2018
Language: English
Commentary: True PDF
Pages: 455
Tags: Internet of Things; Apple; iOS; Swift; Raspberry Pi; Arduino; tvOS; Geospatial Data; Web Servers; Bluetooth
Front Matter ....Pages i-xviii
Front Matter ....Pages 1-1
Laying the Foundation for Your First IoT App (Ahmed Bakir)....Pages 3-50
Using Core Location to Build a Workout Tracking App (Ahmed Bakir)....Pages 51-96
Using Core Motion to Add Physical Activity Data to Your Apps (Ahmed Bakir)....Pages 97-122
Using HealthKit to Securely Retrieve and Store Health Data (Ahmed Bakir)....Pages 123-160
Front Matter ....Pages 161-161
Building Arduino-Based Peripherals (Ahmed Bakir)....Pages 163-191
Building a Bluetooth LE Hardware Companion App (Ahmed Bakir)....Pages 193-233
Setting Up a Raspberry Pi and Using It As a HomeKit Bridge (Ahmed Bakir)....Pages 235-266
Building a Web Server on a Raspberry Pi (Ahmed Bakir)....Pages 267-309
Front Matter ....Pages 311-311
Using tvOS to Build an Apple TV Dashboard App (Ahmed Bakir)....Pages 313-358
Using watchOS to Build an Apple Watch App (Ahmed Bakir)....Pages 359-406
Using Face ID, Touch ID, and Keychain Services to Secure Your Apps (Ahmed Bakir)....Pages 407-443
Back Matter ....Pages 445-455