O'Reilly logo

Learning iBeacon by Craig Gilchrist

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting started with building our app

Consider the following steps to build our app:

  1. Fire up Xcode and create a new project. Choose Single View Application from the list of templates, and when prompted, use the following values for the new project:
    • Product Name: TreasureHunt
    • Organization Name: Learning iBeacon
    • Company Identifier: com.learning-ibeacon
    • Class Prefix: LI
    • Devices: Universal
  2. We'll need the Core Bluetooth and Core Location frameworks, so go ahead and add them to the project too. If you need help with this, refer to Chapter 3, Broadcasting Advertisements – Sending Offers.

Drawing our initial views

We'll be using storyboards this time round to create our views. We'll write each controller separately, but to get us started, we'll create stubs for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required