CoreLocation app for iBeacons written in Swift