Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

SwiftUI Tutorial: Build an iBeacon detector with object binding and custom modifiers

24.2K views
•
June 13, 2019
by
Paul Hudson
YouTube video player
SwiftUI Tutorial: Build an iBeacon detector with object binding and custom modifiers

TL;DR

Learn how to build a Beacon Detector app in Swift UI using bindable objects, pass-through subject from Combine, and custom view modifiers.

Transcript

this is another tutorial for Swift UI again building a complete that from scratch in about 20 minutes so you can see exactly how it works this time we're going to build an app that scans from nearby ibeacons and on the way you'll get more experience with bindable objects using pass through subject from combine and also see how it can build custom v... Read More

Key Insights

  • 🫵 Swift UI makes it easy to build complex user interfaces using reusable view modifiers.
  • 👻 Bindable objects and pass-through subjects from Combine allow for easy data flow and updating in Swift UI.
  • 🧡 Core Location framework provides the necessary functionality for scanning and ranging iBeacons.
  • 💁 Proper authorization and usage descriptions are required to access privacy-sensitive data like location information.
  • 🏆 Testing beacon detection requires a real iOS device as the simulator does not support beacon scanning.
  • 📶 Beacons can have different proximity values (immediate, near, far, unknown) based on signal strength.
  • 🫵 Custom view modifiers in Swift UI are a powerful tool for applying shared styling to multiple views.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the purpose of the Beacon Detector app?

The purpose of the Beacon Detector app is to scan for nearby iBeacons and display their proximity.

Q: What are the main features covered in this tutorial?

The tutorial covers topics such as bindable objects, pass-through subject from Combine, custom view modifiers, and working with CLBeaconRegion.

Q: How does the app handle authorization for location access?

The app requests "when in use" location authorization from the user to allow beacon detection.

Q: How does the app determine the proximity of detected beacons?

The app uses the CLProximity value provided by the CLBeaconRegion to determine the proximity of detected beacons.

Key Insights:

  • Swift UI makes it easy to build complex user interfaces using reusable view modifiers.
  • Bindable objects and pass-through subjects from Combine allow for easy data flow and updating in Swift UI.
  • Core Location framework provides the necessary functionality for scanning and ranging iBeacons.
  • Proper authorization and usage descriptions are required to access privacy-sensitive data like location information.
  • Testing beacon detection requires a real iOS device as the simulator does not support beacon scanning.
  • Beacons can have different proximity values (immediate, near, far, unknown) based on signal strength.
  • Custom view modifiers in Swift UI are a powerful tool for applying shared styling to multiple views.
  • The Beacon Detector app can be a starting point for building more complex beacon-based applications.

Summary & Key Takeaways

  • This video tutorial demonstrates how to build a Beacon Detector app in Swift UI in about 20 minutes.

  • The app scans for nearby iBeacons and displays the proximity of the detected beacons.

  • The tutorial covers topics such as bindable objects, pass-through subject from Combine, and custom view modifiers.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Paul Hudson 📚

iOS 15: Understanding the basic structure of a SwiftUI app –  WeSplit SwiftUI Tutorial 1/11 thumbnail
iOS 15: Understanding the basic structure of a SwiftUI app – WeSplit SwiftUI Tutorial 1/11
Paul Hudson
How to become an iOS developer in 2021 thumbnail
How to become an iOS developer in 2021
Paul Hudson

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.