Created
October 23, 2014 05:58
-
-
Save jault3/b151153f481c3b7349ca to your computer and use it in GitHub Desktop.
DataTypesToWrite.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSSet *)dataTypesToWrite { | |
HKQuantityType *heightType = [HKQuantityType quantityTypeForIdentifier:HKQuantityTypeIdentifierHeight]; | |
HKQuantityType *weightType = [HKQuantityType quantityTypeForIdentifier:HKQuantityTypeIdentifierBodyMass]; | |
HKQuantityType *heartRate = [HKQuantityType quantityTypeForIdentifier:HKQuantityTypeIdentifierHeartRate]; | |
HKQuantityType *walkingRunningDistance = [HKQuantityType quantityTypeForIdentifier:HKQuantityTypeIdentifierDistanceWalkingRunning]; | |
return [NSSet setWithObjects:heightType, weightType, heartRate, walkingRunningDistance, nil]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment