HealthKit
HealthKit copied to clipboard
Could the API be in terms of promises rather than callbacks?
Since this is a API being written from scratch could it be written in terms of promises which are much easier to code with.
It appears to be available in the browser of ios8 http://caniuse.com/#feat=promises
Or you could just add a promise library
Safari 8 now implements the HTML 5 promise proposal. Should be safe to use.