SwiftUI-Weather is a weather app UI prototype built with SwiftUI. Users may check the current weather in their city, and choose between bright and dark settings. The project showcases the developer’s proficiency in utilizing SwiftUI for a visually stunning UI.

based on this youtube video by Sean Allen (@SAllen0400)

note: for those who watch the video, I didn’t follow Sean’s recommendation about adding @Binding annotation for isNight variable inside BackgroundView because in my opinion:

  • the preferable way to change isNight value is using WeatherButton
  • BackgroundView should only receive value from it’s parent, ContentView
  • therefore, it shouldn’t be able to change the isNight value right from itself



View Github