Objective-C
First go the Target->Capabilities and enable HealthKit. This would setup the info.plist entry.
Make a new CocoaClass of type NSObject
The filename I gave is GSHealthKitManager and the header file is as shown below
GSHealthKitManager.h
#import <Foundation/Foundation.h>
#imp...