You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classMyClass{func myFunc(){letbeaconManager=JMCBeaconManager()
beaconManager.delegate =self}extensionMyClass:JMCBeaconManagerDelegate{/**Called when the beacons are ranged*/func beaconsRanged(notification:NSNotification){
if let visibleIbeacons = notification.object as?[iBeacon]{
for beacon in visibleIbeacons{/// Do something with the iBeacon}}}}
What do you guys think? If approved, I can make the changes 😄
The text was updated successfully, but these errors were encountered:
Instead of this:
We can have a delegate, so we can do this:
What do you guys think? If approved, I can make the changes 😄
The text was updated successfully, but these errors were encountered: