Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
/ weather-app-tca Public archive

A weather forecast application developed using SwiftUI and TCA

Notifications You must be signed in to change notification settings

mpetrenco/weather-app-tca

Repository files navigation

WeatherApp

CircleCI Codecov

A weather forecast application developed using SwiftUI and TCA.

Demo

Features:

  • Fetch the current weather details at user coordinates;
  • Fetch the 3-hour interval forecast for the next 5 days;
  • Adjust design based on weather conditions;
  • Fully unit tested;

Packages:

Name Description
Networking Responsible for handling all HTTP requests
WeatherService Uses the Networking package to fetch the weather from OpenWeather API
Resources Contains all the shared assets/colors/fonts.
Forecast Contains the ForecastView, which uses the WeatherService package to display the current weather and a 5-day forecast at the user's location.

Dependencies:

Name Description
ComposableArchitecture Handles the boilerplate code for creating the composable components.
ComposableCoreLocation A wrapper on CLLocationManager, which allows us to handle location events as actions inside our reducer.

Tools:

Name Description
Slather Generates code coverage reports.
CircleCI Handles automatic builds.
Fastlane For easy pipeline management.
Codecov For publishing code coverage results.