Fit: Store and Retrieve HealthKit Data
Version 2.0, 2014-09-17
Updated type identifiers and fixed a layout bug.
(Full Revision History)
iOS 8 SDK and Xcode 6
iOS 8 SDK
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.