SkaleKit
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) 2021年 Atomax Inc. All rights reserved.
Any feedback is welcomed, please send feekback to [email protected] or