Skip to content

Commit 5152c3a

Browse files
committed
fix usage example in readme
1 parent 51e4a65 commit 5152c3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ import Proximity
2929

3030
class MyViewController: UIViewController {
3131

32+
let proximity = Proximity()
33+
3234
override func viewDidLoad() {
3335
super.viewDidLoad()
34-
35-
private let proximity = Proximity()
36+
3637
proximity.delegate = self
3738
proximity.startScanning(forPeripheralsWithServices: ["CAE2...03C3"])
3839
}

0 commit comments

Comments
 (0)