iBeacon Sample Code from Apple