Swift 框架 BeaconMonitor
- 授权协议: MIT
- 开发语言: Swift
- 操作系统: 跨平台
- 软件首页: https://github.com/sebk/BeaconMonitor
软件介绍
BeaconMonitor 是 Swift 框架用来监控和排列 iBeacons。
import BeaconMonitor
import CoreLocation
class ListenViewController: UIViewController {
var monitor: BeaconMonitor?
override func viewDidLoad() {
super.viewDidLoad()
monitor = BeaconMonitor(uuid: NSUUID(UUIDString: uuidTextfield.text!)!)
monitor!.delegate = self
monitor!.startListening()
}
}
extension ListenViewController: BeaconMonitorDelegate {
@objc func receivedAllBeacons(monitor: BeaconMonitor, beacons: [CLBeacon]) {
print("All Beacons: \(beacons)")
}
@objc func receivedMatchingBeacons(monitor: BeaconMonitor, beacons: [CLBeacon]) {
print("Matching Beacons: \(beacons)")
}
}JavaScript & jQuery交互式Web前端开发
[美]达克特(Duckett,J.) / 杜伟、柴晓伟、涂曙光 / 清华大学出版社 / 2015-6-9 / 79.80元
欢迎选择一种更高效的学习JavaScript和jQuery的方式。 你是一名JavaScript新手?或是您曾经向自己的Web页面上添加过一些脚本,但想以一种更好的方式来实现它们?本书非常适合您。本书不仅向您展示如何阅读和编写JavaScript代码,同时还会以一种简单且视觉化的方式,教您有关计算机编程的基础知识。阅读本书之前,您只需要对HTML和CSS有一些了解即可。 通过将编程理论......一起来看看 《JavaScript & jQuery交互式Web前端开发》 这本书的介绍吧!
