I'm using BeaconKit to detect near beacons around.
I want to check if the beacon detected is of type AltBeacon. My code is showing an error because of the matching expression I'm using.
if beacon.beaconType == AltBeacon { print("Detected an AltBeacon") } Here is the error message I'm getting
Binary operator
==cannot be applied to operands of typeInt' andAltBeacon.Type
What can I use instead so I can correct my matching expression please ! Thank you