Advanced iOS App Development: Core Motion
2h 20mAdvanced2017-06-28
Authors

Steven Lipton
VP of Special Projects at Scientific Device Laboratory, Developer
Course details
Want to add motion detection and reporting to your iOS apps? Core Motion is the framework you need to master. Core Motion allows you to access data generated by the accelerometers, gyroscopes, pedometers, magnetometers, and barometers on an iOS device—data that's integral to activity tracking, health and fitness monitoring, interactive gaming, IoT programming, UI gestures, and more. This course introduces Core Motion methods, data, measurements, and its basic underlying physics, before diving into creating a sample pedometer application and a simple game. Learn how to capture device motion such as acceleration, use the altimeter and magnetometer sensors, push and pull data, and access historical recorded data.
Learning objectives
Reading Core Motion data
Understanding Core Motion methods
Creating a pedometer app
Using pace and distance data from Core Motion
Pushing and pulling device motion data
Accessing the altitude sensors
Working with the motion activity manager (CMMotionActivityManager)
Learning objectives
Reading Core Motion data
Understanding Core Motion methods
Creating a pedometer app
Using pace and distance data from Core Motion
Pushing and pulling device motion data
Accessing the altitude sensors
Working with the motion activity manager (CMMotionActivityManager)
Skills covered
Cross-Platform DevelopmentiOSMobile DevelopmentAppleDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - How to use the exercise files
1. Core Motion Introduction
- 04 - Core Motion
- 05 - Hierarchy of methods
- 06 - Reading Core Motion data
- 07 - Measurement units
- 08 - Basic physics
2. Pedometer
- 09 - Set up the project
- 10 - Add the pedometer
- 11 - Test the pedometer
- 12 - Add a timer loop
- 13 - Pull pace and distance
- 14 - Add elapsed tIme
3. Device Motion
- 15 - Set up the project
- 16 - Detect devices
- 17 - Push and pull device motion
- 18 - Model accelerometer movement
- 19 - Signal and noise motion
- 20 - Rotation rate with the gyro
- 21 - Attitude and device orientation
4. Sensors
- 22 - Introducing altitude
- 23 - Altimeter
- 24 - Magnetometer
5. Recorded Data
- 25 - Motion activity manager
- 26 - Query motion data
- 27 - Prevent user actions
Conclusion
- 28 - Next steps
Related courses
- Advanced iOS App Development: Core Animation
- Advanced iOS App Development: MapKit & Core Location
- iOS App Development: RESTful Web Services
- Machine Learning for iOS: Core ML and Create ML
- Machine Learning for iOS Developers
- Advanced iOS Development: Keychain Access
- iOS App Development: Essential Courses
- JavaScript: Progressive Web Applications
Related learn paths
- Build a watchOS 4 Application
- Improve Your iOS Development Skills
- Become a Blockchain Developer
- Become a Java Programmer
- Prepare for the MTA: Software Development Fundamentals Exam (98-361)
- Become a Software Developer
- Elevating C# Skills: Building Robust Applications
- Become a FileMaker Custom App Developer