6. WeatherKit: Adding Cities

Поделиться
HTML-код
  • Опубликовано: 19 июл 2024
  • 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 :)
    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:
    github.com/StewartLynch/MyWea...
    Completed Branch:
    github.com/StewartLynch/MyWea...
    WeatherKit Series Playlist
    Other links mentioned in video:
    Searchable Map Post by Poi Piella Abadia
    www.polpiella.dev/mapkit-and-...
    ******* Download my StewartLynch RUclips Channel Application - Free **********
    stewartlynch.gumroad.com/l/obsjz
    Other Affiliate links
    BigMountain Studio Books
    SwiftUI Views Mastery
    www.bigmountainstudio.com/vie...
    SwiftUI 5 Book Bundle
    www.bigmountainstudio.com/boo...
    Combine Mastery in SwiftUI
    www.bigmountainstudio.com/com...
    Core Data Mastery in SwiftUI
    www.bigmountainstudio.com/cor...
    SwiftUI Animations Mastery
    www.bigmountainstudio.com/ani...
    AppCoda Books
    Beginning iOS 16 Programming with Swift (SwiftUI + UIKit)
    gumroad.com/a/646790611/WihuX
    Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) - Starter
    gumroad.com/a/646790611/mOzKq
    Mastering SwiftUI 4 + Swift Programming for iOS 16 - Professional
    gumroad.com/a/646790611/gjPBw
    Mastering SwiftUI 4 - Starter
    gumroad.com/a/646790611/TyNEz
    Other References:
    Stewart Lynch's RUclips Channel:
    / @stewartlynch
    Stewart Lynch on Mastodon:
    iosdev.space/@StewartLynch
    Stewart Lynch On Threads:
    @StewartLynch
    Stewart Lynch on X:
    x.com/StewartLynch
    Stewart Lynch on LinkedIn
    / stewartlynch
  • НаукаНаука

Комментарии • 6

  • @JimJanelle
    @JimJanelle 14 часов назад

    VERY helpful. I started making my own weather app and have all the weather details working but was stuck on adding additional cities. This REALLY helps with that! Thank you for very clear videos!

  • @ThePhotodiver
    @ThePhotodiver Месяц назад

    It would be nice if the name of the country were shown with the name of the City when searching, especially when there are same names being displayed so that you can select the correct city

  • @danielcrompton7818
    @danielcrompton7818 Месяц назад

    Do you still work with Code With Chris?

    • @StewartLynch
      @StewartLynch  Месяц назад +1

      I haven’t done anything for over a year now with chris. Not because I don’t want to. I have just been too busy with my own content.