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

Building our app

Let's get started with building our "important stuff" app. We'll be using core data to store a list of our important stuff, and luckily, Apple has provided a very nice template, which should give us a head start. Consider the following steps:

  1. Fire up Xcode and create a new project. This time, choose Master-Detail Application as your project template and call the project My Important Stuff. Be absolutely sure to check the Use Core Data option as this tutorial heavily relies on it.
  2. We're going to need CoreLocation; so, add that to the linked frameworks and libraries as we've done in previous chapters.

Beginning the app with a database schema

Let's start with the database required to support the app. We'll need to store all of our beacons ...

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