Use your Mac as an iBeacon, written in Swift