Fit: Store and Retrieve HealthKit Data

Last Revision:
Version 2.1, 2016-10-25
Fix support for iOS 10.0
(Full Revision History)
Build Requirements:
iOS 8 SDK and Xcode 8
Runtime Requirements:

Fit is a sample intended as a quick introduction to HealthKit. It teaches you everything from writing data into HealthKit to reading data from HealthKit. This information may have been entered into the store by some other app; e.g. a user's birthday may have been entered into Health, and a user's weight by some popular weight tracker app. Fit shows examples of using queries to retrieve information from HealthKit using sample queries and statistics queries. Fit gives you a quick introduction into using the new Foundation classes NSLengthFormatter, NSMassFormatter, and NSEnergyFormatter.