Reader small image

You're reading from  Learning ibeacon

Product typeBook
Published inNov 2014
Publisher
ISBN-139781784397128
Edition1st Edition
Right arrow
Author (1)
Craig Gilchrist
Craig Gilchrist
author image
Craig Gilchrist

Craig Gilchrist is the Digital Director at Eden Agency (http://createdineden.com/), a small but mighty digital agency that is at the forefront of proximity marketing. His team is one of the first to release commercial iBeacon-powered apps in the world and currently boast over 1.5 million app downloads in multiple fields and have a perfectly balanced technical and creative team. Craig is based in North Yorkshire, England, and has been developing commercial software since graduating from the University of Teesside in 2004 with a BSc in Software Engineering and has been building apps for iOS since 2009. Craig is an avid reader and is always at the forefront of commercial technological developments. Other than mobile app development and digital marketing, Craig also has a keen interest in developing rich media, including gaming, children's interactive media, and a very keen interest in Unity and virtual reality with Oculus Rift.
Read more about Craig Gilchrist

Right arrow

There be treasure nearby


We will build a treasure-hunting app in this chapter. Ideally, you'll have two compatible iOS devices so that one can be the treasure and another can be the hunter. Don't worry if you have only one iOS device; the companion app can act as the treasure, and your iOS device can be the treasure.

Our app will perform both features using modal view controllers. The main view of the app will simply allow the user to choose whether the device is the treasure or the hunter. Once the user makes his or her choice, the app will open a dedicated view controller with a single role to hunt or to be hunted.

We'll call our treasure view controller LITreasureViewController and our hunter view controller LIHunterViewController.

When our app runs in treasure mode, it will simply operate as a beacon, much like we did in Chapter 3, Broadcasting Advertisements – Sending Offers, when we sent Matey's offers from our iOS device. The app gets more interesting when it is running in hunter mode...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning ibeacon
Published in: Nov 2014Publisher: ISBN-13: 9781784397128

Author (1)

author image
Craig Gilchrist

Craig Gilchrist is the Digital Director at Eden Agency (http://createdineden.com/), a small but mighty digital agency that is at the forefront of proximity marketing. His team is one of the first to release commercial iBeacon-powered apps in the world and currently boast over 1.5 million app downloads in multiple fields and have a perfectly balanced technical and creative team. Craig is based in North Yorkshire, England, and has been developing commercial software since graduating from the University of Teesside in 2004 with a BSc in Software Engineering and has been building apps for iOS since 2009. Craig is an avid reader and is always at the forefront of commercial technological developments. Other than mobile app development and digital marketing, Craig also has a keen interest in developing rich media, including gaming, children's interactive media, and a very keen interest in Unity and virtual reality with Oculus Rift.
Read more about Craig Gilchrist