Summary
We just learnt a ton about sensors, in addition to a handful of other good stuff! We learnt about UIDevice, and the basic device state sensory information it contains. Then we discovered Core Motion, and learnt how to create new operation queues to process sensory data. After that we learnt how to link a third-party library, and charted data from the iPhone's pedometer and altimeter. Finally, we took all of our sensory knowledge to watchOS by pulling accelerometer data from an Apple Watch into a chart on our iPhone.
In the next chapter, we'll be looking at our last major element of iOS programming in this book: notifications. We're on the home stretch, and we're just about ready to start diving into the tools Xcode provides to test, debug, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access