Mastering SwiftUI MapKit The Complete Guide

From Zero to MapKit Pro: SwiftUI’s Ultimate Mapping Course
Mastering SwiftUI MapKit The Complete Guide
File Size :
3.32 GB
Total length :
6h 6m



Mohammad Azam


Last update




Mastering SwiftUI MapKit The Complete Guide

What you’ll learn

Students will learn how to seamlessly integrate maps into SwiftUI applications, enabling them to create location-aware apps with ease.
You will discover how to add markers, pins, and custom annotations to maps, making your apps interactive and engaging.
Understand how to configure different map styles to match your app’s design and provide a visually appealing user experience.
Master the art of accessing and displaying the user’s real-time location on the map, providing context-aware information.
Learn how to implement smooth zooming and panning features, allowing users to focus on specific points of interest on the map.
Students will undertake the creation of a NearMe app, capable of showcasing nearby points of interest and sorting them based on distance from the user’s locatio
Stay at the forefront of technology by exploring and implementing the new LookAroundPreview feature introduced in iOS 17, enhancing user engagement.
Dive into adding route planning and navigation features to your NearMe app, enabling users to easily find their way to selected destinations using Apple Maps.

Mastering SwiftUI MapKit The Complete Guide


Familiarity with Swift Programming
Xcode Installation
Basic iOS Development Knowledge
Apple Developer Account (Optional)
Desire to Learn


Are you ready to harness the power of SwiftUI and MapKit to create captivating, location-aware applications? Whether you’re a seasoned iOS developer or a newcomer to SwiftUI, our comprehensive course will guide you from novice to expert in no time.In this course, you’ll learn how to display maps seamlessly within your SwiftUI apps, establishing a strong location-based foundation. You’ll also delve into the world of markers, pins, and custom annotations, turning your maps into interactive canvases for user engagement. Additionally, you’ll have the opportunity to customize your maps with various styles, ensuring they align perfectly with your app’s aesthetics.Understanding and displaying the user’s real-time location is a crucial skill, and we’ll show you how to do it effortlessly. Zooming and panning features will allow you to focus on specific locations of interest, enhancing user experience. But that’s not all! We’ll guide you through the development of a NearMe app, which will display nearby points of interest and intelligently sort them based on distance from the user’s location. You’ll also explore iOS 17’s LookAroundPreview, staying at the forefront of technology integration. And to top it off, you’ll learn to add routes and navigation, enabling users to easily find their way to selected destinations using Apple Maps.This course will cover the creation of a “Restroom Finder App.” This unique app will utilize a third-party JSON API to pinpoint and display all nearby restrooms in the user’s current position. Each restroom will also be capable of displaying all the amenities available, enhancing user convenience and accessibility.By enrolling in this course, you’ll gain hands-on experience, master essential skills, and create real-world applications that utilize SwiftUI and MapKit. Whether you aspire to build location-based social networks, travel guides, or specialized apps like the Restroom Finder, this course will equip you to develop engaging and feature-rich experiences that captivate your users. Join us today and embark on your journey toward becoming a proficient SwiftUI and MapKit developer!


Section 1: Introduction

Lecture 1 Introduction

Lecture 2 Prerequisites

Lecture 3 Exercise Files

Section 2: Getting Started with SwiftUI Maps

Lecture 4 Displaying Map

Lecture 5 Adding Marker to the Map

Lecture 6 Adding Custom Annotation to the Map

Lecture 7 Configuring Different Map Styles

Section 3: User Location

Lecture 8 Displaying User’s Current Location

Lecture 9 Refactoring

Lecture 10 Zooming into the Current User’s Location

Lecture 11 NOTE: Errors in the Output Window

Lecture 12 Configuring App for Always Authorization

Lecture 13 Dynamically Setting the Camera to Different Positions

Lecture 14 Adding UserLocationButton, Compass and ScaleView to the Map

Lecture 15 Simulating Locations in iPhone Simulator

Lecture 16 FIX: Implementing CLLocationManager Authorization Event

Section 4: NearMe App – Finding User’s Location and Setting Up Interface

Lecture 17 What we will be building?

Lecture 18 Adding Map and Search TextField

Lecture 19 Implementing LocationManager

Lecture 20 Implementing LocationError

Lecture 21 Displaying User’s Location

Lecture 22 Zooming into User’s Location

Section 5: NearMe App – Finding Places Nearby Using MKLocalSearch

Lecture 23 Adding MKLocalSearch Function to Search Nearby Places

Lecture 24 Displaying Search Results on the Map

Lecture 25 Displaying Search Results in a List

Lecture 26 Previewing MapItem Data

Section 6: NearMe App – Showing Place Details & Drawing Route on Map

Lecture 27 Implementing SearchOptionView

Lecture 28 Refactoring

Lecture 29 Sorting Places Based on Distance

Lecture 30 Displaying Distance Values in PlaceView

Lecture 31 Selecting MapItem and Implementing Display Modes

Lecture 32 Implementing SelectedPlaceDetailView

Section 7: NearMe App – Routing, ActionButtons and LookAroundPreview

Lecture 33 Selecting MapItem Using PlaceListView

Lecture 34 Implementing LookAroundPreview

Lecture 35 Adding Route

Lecture 36 Hiding the LookAroundPreview Based on Selected Presentation Detent

Section 8: NearMe App – Adding Action Buttons

Lecture 37 Adding ActionButtons to the SelectedPlaceDetailView

Lecture 38 Opening Destination in Apple Maps

Lecture 39 Implementing Call Button

Lecture 40 Resource: Hiding the Call Button When Phone Number is Not Available

Section 9: Project: Restroom Finder – Setup and Displaying Annotations on the Map

Lecture 41 What we will be building?

Lecture 42 Refuge Restrooms API

Lecture 43 Downloading the Starter Project

Lecture 44 Implementing Restroom Model

Lecture 45 Implementing HTTP Client

Lecture 46 Adding HTTP Client to Environment Values

Lecture 47 Displaying Markers on the Map

Lecture 48 Mocking HTTP Client

Lecture 49 Displaying Custom Annotations on the Map

Lecture 50 Searching Restrooms based on Region

Lecture 51 Implementing RestroomDetailView

Lecture 52 Showing Amenities for Restrooms

Lecture 53 Open Maps for Directions

Section 10: Region Monitoring Using CLMonitor

Lecture 54 Understanding the Starter Project

Lecture 55 Creating Regions Using MapCircle

Lecture 56 Start Monitoring Regions

Lecture 57 Updating User Interface When Entered into Region

Section 11: Miscellaneous

Lecture 58 Selecting Annotations Using Tag Modifier

Lecture 59 Drawing Polygon Overlays in SwiftUI

Lecture 60 Drawing MapCircles in SwiftUI

Section 12: Conclusion

Lecture 61 Next Steps

Lecture 62 Bonus Lecture

Aspiring iOS Developers,Experienced Developers,Students and Learners,Entrepreneurs and Product Managers,Career Switchers,App Enthusiasts,Freelancers and Consultants,App Designers

Course Information:

Udemy | English | 6h 6m | 3.32 GB
Created by: Mohammad Azam

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top