TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

DAY 75

Project 22, part one

We looked at MapKit back in project 16, and while maps work great for finding location at the large scale, they work much less well for small-scale location – when you’re inside buildings, or perhaps trying to measure distances in terms of centimeters.

The problem is that location matters. As Phyllis Schlafly said, “location is the key to most businesses, and the entrepreneurs typically build their reputation at a particular spot.” You’ve probably heard the saying “location, location, location”, which pretty much sums it up.

Well, today you’re going to learn about micro-location: the ability to detect very small distances between things, even when you’re inside. This is all made possible through Apple’s iBeacon technology, which are Bluetooth-powered devices that emit low-energy signals iOS can detect and act on.

The range is short – maybe 40 meters / 130 feet in a line of sight – but these devices use so little power that they can survive for years on a tiny battery. This makes them perfect for museums, schools, galleries, malls, and more.

Today you have three topics to work through, and you’ll learn about Core Location, CLBeaconRegion, and more.

Need help? Tweet me @twostraws!


Hacking with Swift is sponsored by String Catalog.

SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!

Localize My App

Sponsor Hacking with Swift and reach the world's largest Swift community!

100 Days of Swift

The 100 Days of Swift is a free collection of videos, tutorials, tests, and more to help you learn Swift faster. Click here to learn more, or watch the video below.

Back to 100 Days of Swift

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.