In time-honored tradition, we can't conclude the first chapter without the traditional "Hello World" tutorial. We'll be using your Mac as an iBeacon broadcaster using the companion app, and the app will simply show an alert every time it enters or exits the region.
We will cover all of these concepts in more detail in later chapters, but for reference, here are the classes we'll be using:
CLLocationManagerclass delivers location-related events to your app and tells you when you enter or exit a region
CLLocationManagerDelegateprotocol defines the delegate methods used to receive location and heading updates from
CLBeaconRegionobject defines a type ...