Tuesday, May 12, 2015

Microsoft Band Kit: Swift Samples for iOS

I just finish posting the latest Swift ports of the Microsoft Band Kit SDK Samples for iOS. You can find the original Objective-C samples at http://developer.microsoftband.com/.

My ports can be found at:

14 comments:

Harry Mayeux said...

Mark - Have you seen issues subscribing to the contact sensor in iOS? I am doing this in Swift and I am unable to return results when using this sensor. All other sensors work ask expected in my code. Any help would be appreciated!

Mark Thistle said...

Currently, the sensor contact returns state changes only. So if the band is on or off the wrist it will not send an event until the state changes, that is, the band is removed or put back on.

laurensbolle said...

Hi Mark, I'm very new to Swift and the Microsoft band. Is it possible to pair the iOS Simulator to a physical Microsoft Band?

Mark Thistle said...

Hi Lauren,

No, it is not possible to pair the iOS Simulator to a physical Microsoft Band. You need to run on a real iOS device.

MT

Jon said...
This comment has been removed by the author.
Rubén Fernández said...

I'm currently trying to use the BandSensorSwift but with swift 2.0 and i am not able to correct all the errors that appear. Also, do you know how can i fetch the value of the heart rate sensor? Thanks

Mark Thistle said...

I just converted the latest (Dec 22, 2015) Microsoft Band Kit for iOS BandHeartRate sample over to Swift 2.1. As I have time I will look at converting others but for now I have only converted the Heart Rate sample.

The new sample is called BSwiftHeartRate. Direct link is here: https://github.com/mthistle/MicrosoftBandKit_iOS-Swift2.2/tree/master/BandSensor/BSwiftHeartRate

Let me know if it works for you.

I just built and compiled it with Xcode 7.2.1.

karthik anu said...

Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well as giving..
iOS Training in Chennai
Android Training in Chennai
php Training in Chennai

Banu said...

Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing..

Mobile App Development Company in Chennai
Android app Development Company in Chennai
ios app development Company in Chennai

sunitha vishnu said...

It's interesting that many of the bloggers your tips helped to clarify a few things for me as well as giving.. very specific nice content. And tell people specific ways to live their lives.Sometimes you just have to yell at people and give them a good shake to get your point across.
Mobile App Development Company
Android app Development Company
ios app development Company
Mobile App Development Companies

Ananthi A said...

Wonderful blog.. Thanks for sharing informative blog.. its very useful to me..
Mobile App Development Company
Android app Development Company
ios app development Company
Mobile App Development Companies


john stany said...

This article is very much helpful and i hope this will be an useful information for the needed one. Keep on updating these kinds of informative things...

Android App Development Company

john stany said...

Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well
iOS App Development Company
iOS App Development Company

louis philip said...

This article is very much helpful and i hope this will be an useful information for the needed one. Keep on updating these kinds of informative things...
Fitness SMS
Fitness Text
Salon SMS
Salon Text
Investor Relation SMS
Investor Relation Text