Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coolioxlr/watchOS-2-heartrate

watchOS 2.0 healthkit, heartrate streaming, start workout session
https://github.com/coolioxlr/watchOS-2-heartrate

Last synced: 2 months ago
JSON representation

watchOS 2.0 healthkit, heartrate streaming, start workout session

Awesome Lists containing this project

README

        

# watchOS-2-heartrate

[![Join the chat at https://gitter.im/coolioxlr/watchOS-2-heartrate](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/coolioxlr/watchOS-2-heartrate?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

06/29/2016 Updates
watchOS3 + Swift3
https://github.com/coolioxlr/watchOS-3-heartrate

11/13/2015 Updates
Apple finlly provide some sample code how to close ActivityRings
https://developer.apple.com/library/watchos/samplecode/ActivityRings/Introduction/Intro.html#//apple_ref/doc/uid/TP40016623

Example to show streaming heartrate from watch using Swift

- request healthkit authorization from watch
- queary from healthkit to show heartrate

##Requirements

- Xcode 7.0, iOS 9.0 SDK, watchOS 2.0 SDK
- iOS 9.0 and watchOS 2.0

##How to build

- Change the "Team" setting on [General] for each target.
- Setup HealthKit for the WatchKit extension target.

##watchOS Beta3

- Simulator now showing simulated heartrate

##watchOS Beta4

- Updated with new APIs