mthistle / BandRegisterNotificationSwift

An iOS Swift version of the Microsoft Band Kit sample app BandRegisterNotification.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

THIS IS An OLD SAMPLE FOR Swift 1.2 and Xcode 6.3 Beta - You can use this as a reference but the code is out of date. For a Swift 2 sample, see: https://github.com/mthistle/MicrosoftBandKit_iOS-Swift2/tree/master/BandSensor/BSwiftHeartRate

BandRegisterNotificationSwift

An iOS Swift version of the Microsoft Band Kit sample app BandRegisterNotification. This sample will create a tile on the Band and then send a local ANCS notification to this tile. To remove the tile use the Microsoft Health App, available in the AppStore.

This is a port of the BandRegisterNotification example from the Microsoft Band Kit SDK for iOS samples. The SDK can be found at http://developer.microsoftband.com/

Dependencies

Uses the Microsoft Band Kit (MSB) for iOS (included). You can get the latest version from: http://developer.microsoftband.com/ Demonstrates use of MSB with Swift. Written with Swift 1.2 and Xcode 6.3.1.

Requires a Microsoft Band paired with your iPhone (there is no simulator, you need a physical band).

##Using

Download, build and run.

Authors

Mark Thistle, http://droolfactory.blogspot.com

About the Code

This is a straight port.

About

An iOS Swift version of the Microsoft Band Kit sample app BandRegisterNotification.

License:MIT License


Languages

Language:Objective-C 81.6%Language:Swift 12.7%Language:C++ 5.7%