Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning ibeacon

You're reading from   Learning ibeacon

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781784397128
Length 196 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Craig Gilchrist Craig Gilchrist
Author Profile Icon Craig Gilchrist
Craig Gilchrist
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Welcome to iBeacon FREE CHAPTER 2. Detecting Beacons – Showing an Advert 3. Broadcasting Advertisements – Sending Offers 4. Ranging Beacons – Hunting for Treasure 5. Detecting Beacons in the Background – Location Dating 6. Leaving Regions – Don't Forget Your Stuff 7. Vendor SDKs – Buying and Configuring Beacons 8. Advanced Tutorial – iBeacon Museum 9. iBeacon Security – Understanding the Risks 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image