Code Monkey home page Code Monkey logo

weatherswiftui's Introduction

Weather App SwiftUI

App Icon made by Bing Create


photo_2023-08-29 19 07 12

photo_2023-08-29 19 07 17


Built with SwiftUI as its foundation, this app offers a modern and user-friendly interface for users to access weather information seamlessly.

Features

  • Weather Forecast: Get accurate and up-to-date weather forecasts powered by the Yandex Weather API. Stay informed about temperature, humidity, wind speed, and more.
  • Location-based Weather: Utilize CoreLocation to automatically fetch weather data based on your current location. Experience weather updates tailored to your whereabouts.
  • Place Search: Integrated Google Places API allows you to easily search for and select locations, making it convenient to check the weather for multiple places.

Used Frameworks

  • SwiftUI: Provides the foundation for building the user interface with a declarative syntax and modern design principles.
  • CoreLocation: Enables location-based services, allowing the app to access the device's GPS and fetch accurate weather data based on the user's location.
  • Google Places API: Integrated for efficient place searching and selection, enhancing user experience when checking weather for different locations.
  • Alamofire: A powerful networking library that ensures smooth communication with external APIs, facilitating seamless data retrieval.
  • Core Data: Used to manage local storage of fetched weather data, allowing users to access previous forecasts even when offline.

Getting Started

To run the Weather App locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Open the project in Xcode.
  3. Paste your API key of Yandex Weather (WeatherManager file) and Google Places (YandexWeatherApp file).
    • Create a Yandex Weather API key here.
    • Create a Google Places API key here.
  4. Add "Privacy - Location When In Use Usage Description" to your Info.plist.
  5. Run the project on a simulator or device.

swwdw

Requirements

  • iOS 15.0 or later
  • Xcode 13.0 or later

License

MIT license, see the details

weatherswiftui's People

Contributors

almatkai avatar

Watchers

 avatar

weatherswiftui's Issues

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.