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

Building the application


Now that we've fully explained our app and all of its features, let's build it!

Creating the project

Follow these steps to create the project:

  1. Start by firing up Xcode and choosing a single view application from the templates when prompted.

  2. Enter the following options for your new project:

    • Product Name: iBeacon Museum

    • Organization Name: Learning iBeacon

    • Product Identifier: com.learningibeacon

    • Devices: iPhone

  3. Before we begin coding, let's start by setting our project properties. Open up the project properties by clicking on the top-level project in Project Navigator, and then under Deployment Info ensure that you turn on the Hide status bar option. Also ensure that our iPhone app can only be displayed in portrait mode by ensuring that only Portrait is checked in the Device Orientation option.

  4. We're going to be displaying a lot of Wikipedia content in our app so it makes sense to hide any other text when it's just content on the screen. Open the Info tab of our Properties...