Book description
Build proximity applications for iOS using Apple's groundbreaking iBeacon technology
In Detail
Starting with an introduction to iBeacon, you will learn all about simple beacon detection. You will learn how to use Apple's CoreBluetooth, CoreLocation, and PassKit libraries, and how to broadcast different values through the power of transmission power.
You will learn how to allow your apps to detect beacons, determine their distance, and even turn your iPhone or iPad into a Bluetooth iBeacon by building a simple treasure-hunting app. We will also be discussing two of the most popular beacons (Estimote and ROXIMITY). Don't worry if you haven't got any beacons; this book includes a companion app that lets your Mac or MacBook act as a beacon to allow you to jump straight into learning this incredible technology.
By the end of this book, you will have learned how to build apps that interact with the world around them using Bluetooth beacons.
What You Will Learn
- Detect beacons in range and read the values they broadcast
- Understand beacon regions and use Core Location framework to determine when you enter or exit a beacon region
- Use beacon broadcast values to identify the beacon and determine the purpose of it
- Utilize the CoreBluetooth library to turn your iOS device into an iBeacon
- Build a functionality that understands the world around it within a few inches by determining beacon distance
- Notify users that they've entered a region while the app's running in the background and use beacons to show Apple Passbook passes when in range
- Build a comprehensive museum app that informs the visitor about the exhibits that they're closest to as they walk around the museum
- Understand Bluetooth low energy and the technology behind iBeacon
Table of contents
-
Learning iBeacon
- Table of Contents
- Learning iBeacon
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Welcome to iBeacon
- 2. Detecting Beacons – Showing an Advert
- 3. Broadcasting Advertisements – Sending Offers
-
4. Ranging Beacons – Hunting for Treasure
- There be treasure nearby
- Understanding distance
- Our application
- Getting started with building our app
- Completing the code
- Summary
- 5. Detecting Beacons in the Background – Location Dating
-
6. Leaving Regions – Don't Forget Your Stuff
- Raspberry Pi
- Ninja Blocks
- Nest
- Phillips Hue
- Belkin WeMo
- iBeacon and home automation
- Beacon stickers
- Our tutorial
- Building our app
- Testing your app
- Summary
- 7. Vendor SDKs – Buying and Configuring Beacons
-
8. Advanced Tutorial – iBeacon Museum
- Our exhibitions
- The museum map
- Our app structure
- The supporting website
- Our app design
- Building the application
- Time to test
- Summary
- 9. iBeacon Security – Understanding the Risks
- Index
Product information
- Title: Learning iBeacon
- Author(s):
- Release date: November 2014
- Publisher(s): Packt Publishing
- ISBN: 9781784397128
You might also like
book
Program the Internet of Things with Swift for iOS
Program the Internet of Things with Swift and iOS is a detailed tutorial that will teach …
book
Build Location-Based Projects for iOS
Coding is awesome. So is being outside. With location-based iOS apps, you can combine the two …
book
iOS 8 Swift Programming Cookbook
Entirely rewritten for Apple’s Swift programming language, this updated cookbook helps you overcome the vexing issues …
book
Antenna Arrays: A Computational Approach
A comprehensive tutorial on the design and practical applications of antenna arrays An antenna array is …