SkaleKit 0.3.0

SkaleKit 0.3.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release May 2017

Maintained by Atomax.


Downloads

Total60
Week0
Month2

Installs

Apps12
Test Targets1
powered by Segment

GitHub

Stars4
Watchers2
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files0
LOCLines of Code 0


SkaleKit 0.3.0

  • By
  • Ryan

Usage

SkaleKit is a wrapper for accessing Skale BuletoothLowEnergy electric scale. We use CoreBluetooth framework to access Skale. Via SkaleKit, developers can easily read weight from physical scale and do what you want with that data.

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • CoreBluetooth.framework

Installation

SkaleKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SkaleKit"

##Get Started

####Initialize Initialize the instance of SKSKale class.

SKSkale *skale = [[SKSkale alloc] init];

####Assign Delegate

skale.delegate = self;

####Implement delegate methods

- (void)skaleDidConnected:(SKSkale *)skale
{

}

- (void)skaleDidDisconnected:(SKSkale *)skale
{
}

- (void)skale:(SKSkale *)skale DidErrorOccur:(NSError *)error
{

}

- (void)skaleWeightDidUpdate:(Float32)weight
{

}

##Example

In SkaleKit project, we demostrate you a simple sample code to access the weight data. You will see how we get the data then display on the screen.

Author

Ryan, [email protected]

License

SkaleKit is available under the MIT license. See the LICENSE file for more info.

##Additional Notes

Created by Ryan Chen, engineer at Atomax, on 16/07/09.

Copyright (c) 2016年 Atomax Inc. All rights reserved.

Any feedback is welcomed, please send feekback to [email protected] or facebook