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
// | |
// Created by Daniel James on 3/1/17. | |
// | |
// At the time of original writing, I only needed to support three data types, | |
// but wanted to be able to easily add additional types later. As such, adding | |
// a supported type should be as simple as including the new type in the | |
// ActivityTypeOptions OptionSet and an if-statement to check for that type in | |
// the healthKitActivityTypes() function. | |
// |