A sample SwiftUI weather app using Lasso.

Overview

Lasso+SwiftUI Example Weather App

Overview

This is a sample iOS app that demonstrates using Lasso and SwiftUI together.

Feature Overview

Home Screen Detail Screen Map Screen
Home Screen Detail Screen Map Screen
  • Search for weather by zip code
  • Search for weather by recent searches
  • See temperature and conditions at a valid location
  • Upon any error, an alert is presented
  • See the location on a map using Apple Maps

Tutorial

[Coming Soon] Check out the two-part tutorial on building a SwiftUI app with Lasso.

Requirements

  • iOS 14.0+
  • Xcode 12.0+

Installation

  1. Clone the repository to your local computer.
  2. Confirm that you have Lasso added as a Swift Package dependency.
  3. Register an API key with OpenWeather®.
  4. Replace YOUR_API_KEY_HERE in WeatherService.swift (See disclaimer here).
  5. Congratulations, you're all set!

Contributing

We love contributions!

If you have a feature in mind, and/or have found a bug, the best thing to do is:

  1. Search the issues to see if someone has already brought it up!
  2. Create a new issue that explains in detail the improvements you'd like to see.
  3. If you have a code change in mind, that's awesome!
    1. Fork the project repository.
    2. Create a branch for your feature change.
    3. Open a pull request!

Author

Charles Pisciotta, iOS Engineering Intern

License

This project and Lasso are licensed under the Apache-2.0 Open Source license (See LICENSE).

You are free to do with this project as you please. We do welcome attribution, and would love to hear from you if you are using Lasso in a project!

Credit

Are you interested in joining the WW team? Check out the careers page to view technology job listings as well as open positions on other teams.

OpenWeather® provides the weather data in this app. WW is not affiliated with or sponsored by OpenWeather, nor is WW a sponsor of OpenWeather. OpenWeather is used exclusively for demonstrative purposes.

Image assets are provided by Pexels. WW is not affiliated with, sponsored by, nor a sponser of Pexels.

You might also like...
Swift Language Weather is an iOS weather app developed in Swift
Swift Language Weather is an iOS weather app developed in Swift

Swift Language Weather SwiftWeather has renamed to Swift Language Weather. Because this repo is ranked number one in Google when we search "Swift Weat

LiveWeatherApp - Live Weather App - Displays Live Weather Data with OpenWeather API
LiveWeatherApp - Live Weather App - Displays Live Weather Data with OpenWeather API

Live Weather App - Displays Live Weather Data with OpenWeather API Learned about

Weather-swiftui - An example of using SwiftUI

weather-swiftui An example of using SwiftUI Installation Get openweather api key

A weather app made using swiftUI and lottie animations
A weather app made using swiftUI and lottie animations

Paolinsky Weather app Weather app made using swiftUI, Lottie animations and the openweather api (https://openweathermap.org/api/one-call-api) Setup Ge

SwiftUI-MSALSample - Sample project to login with MSAL using SwiftUI
SwiftUI-MSALSample - Sample project to login with MSAL using SwiftUI

SwiftUI-MSALSample I could not find a good walkthrough on how to implement MSAL

WeatherApp - A simple Weather App using Realm
WeatherApp - A simple Weather App using Realm

WeatherApp A simple app to preview 16 day forecast and: Show a list of weather f

SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.

Articles related to this project Clean Architecture for SwiftUI Programmatic navigation in SwiftUI project Separation of Concerns in Software Design C

SwiftUI Weather App

Weatherly About A Swift-UI Weather app, using both CoreLocation and a searching functionality to provide the user accurate weather from the WeatherApi

Create a weather app from scratch with this SwiftUI Crash Course
Create a weather app from scratch with this SwiftUI Crash Course

"Create a weather app from scratch with this SwiftUI Crash Course" https://youtu

Owner
WW Tech
WW inspires healthy habits for real life, using cutting edge science and technology to meet our community where they are and own scalable behavior change.
WW Tech
Weather - Use Open weather APIs to fetch live weather data

Weather ??️ Use Open weather APIs to fetch live weather data Use Core Location p

Vicky Lee 2 Jun 3, 2022
CZWeatherKit is a simple, extensible weather library for iOS, tvOS, and OS X that allows for easy fetching of weather data from various weather services.

CZWeatherKit is a simple, extensible weather library for iOS, tvOS, and OS X that allows for easy fetching of weather data from various weather services.

Comyar 455 Nov 20, 2022
Weather-app - Created a simple weather app on Xcode using SwiftUI, only shows one location

weather-app Created a simple weather app on Xcode using SwiftUI, only shows one

Rahul Kadiyala 1 Feb 11, 2022
A Simple Weather App Using the Open Weather Map api

The Weather, a Simple Weather App Using the Open Weather Map api. This app demos use of the Open Weather Map api. The UI is simple, with views of the

null 1 Feb 17, 2022
WeatherSampleApp - Weather Sample app with SwiftUI consuming data from OpenWeather and using CoreLocation

WeatherSampleApp Weather application using SwiftUI Uses data provided by https:/

Juan Carlos Pazos 3 Jan 14, 2022
A SwiftUI Weather App powered by World Weather Online API

SwiftUI-Weather The SwiftUI Weather app, allow users get the current weather for a particular locatio and view a 5-day weather forecast for the select

Dionysis Karatzas 6 Sep 29, 2022
Ios-weather-app - A simple weather app with swift

AHOY Assignment Weather app Main Screen Settings Architecture The Architecture u

null 0 Jan 29, 2022
Simple Weather app to display future weather of 3 cities

WeatherApp Simple Weather app to display future weather of 3 cities Test project for a small weather application Overview For the test project a small

null 0 Nov 28, 2021
Weather forecast app that allows the user to either look for weather at their current location based on the GPS data or search for another city manually.

⛅️ Cloudy Weather forecast app that allows the user to either look for weather at their current location based on the GPS data or search for another c

Burhan 0 Nov 7, 2021
WeatherApp - A simple weather app utilizing Google Places API for search and OpenWeather for weather data

Swift Weather App About A simple weather app utilizing Google Places API for sea

null 0 Jan 5, 2022