Giter VIP home page Giter VIP logo

lasso-swiftui-weather-example's Introduction

Lasso and 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

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

Special thanks to Steven Grosmark, author of the Lasso framework, for his help on this tutorial project.

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 at WW.com 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.

lasso-swiftui-weather-example's People

Contributors

prnewman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.