Book Image

Learning iBeacon

By : Craig Gilchrist
Book Image

Learning iBeacon

By: Craig Gilchrist

Overview of this book

Table of Contents (16 chapters)
Learning iBeacon
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Let's get building


We'll be building a simple master-detail application similar to that of Chapter 6, Leaving Regions – Don't Forget Your Stuff. Our master view controller will be used to show the Estimote beacons in range, while the detail view controller will be used to change the values of the beacon.

Our detail view controller will also show the output from the beacon's temperature sensor and will also vibrate the iPhone when the beacon is moved.

Let's start by firing up Xcode and creating a new project following the given steps:

  1. Choose Master-Detail Application as our template.

  2. Set Product Name as Estimote Beacon Manager, uncheck the Use Core Data checkbox, and use LI as our class prefix.

  3. To make our app vibrate, we will need the Audio Toolbox framework; so, go ahead and add that framework to the project.

Adding EstimoteSDK

We'll be using CocoaPods to add EstimoteSDK. If you're not familiar with CocoaPods, it's a Ruby dependency manager for Objective-C projects that allows you to add dependencies...