This app includes the following
- Make the device an iBeacon that is discoverable by others
- Construct the iBeacon Info dictionary to advertise
- Monitor other beacons with
CLMonitor
- Ranging beacons when monitor condition satisfied
For more details regarding to
- General introduction on beacons
- How is the info dictionary constructed
- How to use CLMonitor to monitor specific conditions and handle events
- Ranging Beacons
- A short discussion on ranging beacons with Core Location vs finding general purpose BLE with Core Bluetooth
Please check out my blog SwiftUI: Let's Make A Simple Beacon App.