Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dazcox5181

Suspended
Original poster
Jun 12, 2005
342
75
Essex, UK
I’m learning swift / iOS development and was experimenting with HomeKit, specifically trying to read data into an app specifically, current step count for day and calories burned (active + basal)
I’ve had some success getting data out, but it’s in a HKSample type and I’m not sure how I process this - if I print to the console it’s a long string with a lot of data I’m not interested in.
Is there a good tutorial anywhere that still works? Everything I find seems to be outdated
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.