CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | Custom |
ReleasedLast Release | Aug 2016 |
SPMSupports SPM | ✗ |
Maintained by Fernando Jimenez.
This is an iOS library that you can use in your projects to discover physical web objects around you.
Currently discovers urls based on the following protocols:
import Foundation
import MagnetScannerIOS
@objc(MagnetScannerClient)
class MagnetScannerClient: NSObject {
var scanner: MagnetScanner!;
override init() {
super.init();
scanner = MagnetScanner(callback: onItemFound);
}
@objc func start() -> Void {
scanner.start();
}
func onItemFound(item: Dictionary<String, AnyObject>) {
debugPrint("Item found!");
scanner.stop();
}
}