6. WeatherKit: Adding Cities

Опубликовано: 17 Октябрь 2024
на канале: Stewart Lynch
454
28

This is the 6th video in a 7 Part series on building a full weather app using WeatherKit.
There is no point in having a weather app if you can add and change the cities that you want to see the weather for and eventually have then persisted to the phone for subsequent launches

In this video I am going to show you how you can use CoreLocation MapKit frameworks to search for and add cities by name. in the final video in this series we will persist it to the phone.
If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch

Table of Contents:
0:00. Introduction
1:33. Creating a DataStore
6:05 Search Overlay
12:30. SearchService
16:30 Executing the Search

Starter Project Branch:
https://github.com/StewartLynch/MyWea...
Completed Branch:
https://github.com/StewartLynch/MyWea...

WeatherKit Series Playlist

Other links mentioned in video:
Searchable Map Post by Poi Piella Abadia
https://www.polpiella.dev/mapkit-and-...

******* Download my StewartLynch YouTube Channel Application - Free **********
https://stewartlynch.gumroad.com/l/obsjz

Other Affiliate links
BigMountain Studio Books
SwiftUI Views Mastery
https://www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle
https://www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI
https://www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI
https://www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery
https://www.bigmountainstudio.com/ani...

AppCoda Books
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit)
https://gumroad.com/a/646790611/WihuX
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) - Starter
https://gumroad.com/a/646790611/mOzKq
Mastering SwiftUI 4 + Swift Programming for iOS 16 - Professional
https://gumroad.com/a/646790611/gjPBw
Mastering SwiftUI 4 - Starter
https://gumroad.com/a/646790611/TyNEz

Other References:
Stewart Lynch's YouTube Channel:
   / @stewartlynch  
Stewart Lynch on Mastodon:
https://iosdev.space/@StewartLynch
Stewart Lynch On Threads:
@StewartLynch
Stewart Lynch on X:
https://x.com/StewartLynch
Stewart Lynch on LinkedIn
  / stewartlynch