iBeacon 101: Smarter iBeacons with Swift

1 min readAug 11, 2015

iBeacon is an increasingly popular protocol that utilizes Bluetooth Low Energy (BLE) technology, enabling devices to broadcast a signal to dedicated listeners and perform actions based on proximity. For example, when a shopper walks into a store, their device emits a signal, and upon being received by the listener, a deal or recommendation could be sent to that shopper in real time. This opens the doors for a wide variety of use cases, from consumer applications all the way to the Internet of Things.

However, let’s make our iBeacons even more intelligent. Traditionally, we have a listener (detector) listening for a signal from an emitter. But what if we want to enable bidirectional communication between iBeacons? We want to extend it’s functionality by extending what both iBeacons can send to one another.

And we’ll show you exactly how to do this in our comprehensive iBeacon tutorials. In this series, we’ll use Swift programming language.

The end result will look something like this:

We’ll create more Beacon tutorials down the road for more programming languages and devices (in fact, we already have one for Android beacon and Tessel beacon!). We look forward to seeing what you build with your smart beacons!

More from PubNub

How to Create a Dating App: 7 Steps to Fit Any Design
Insights6 minMar 15, 2023

How to Create a Dating App: 7 Steps to Fit Any Design

There are common underlying technologies for a dating app, and in this post, we’ll talk about the major technologies and designs...

Michael Carroll

Michael Carroll

How to Create a Real-time Public Transportation Schedule App
Build6 minMar 14, 2023

How to Create a Real-time Public Transportation Schedule App

How to use geohashing, JavaScript, Google Maps API, and BART API to build a real-time public transit schedule app.

Michael Carroll

Michael Carroll

How to Create Real-Time Vehicle Location Tracking App
Build2 minMar 9, 2023

How to Create Real-Time Vehicle Location Tracking App

How to track and stream real-time vehicle location on a live-updating map using EON, JavaScript, and the Mapbox API.

Michael Carroll

Michael Carroll

Talk to an expert