Giter VIP home page Giter VIP logo

background's Introduction

BackGround

Overview

Data

  • URLSession's are used to reach the endpoint for weather reports.
  • FetchRequest is used to call Core Data and CloudKit.

User Interface

  • List of favorite locations is shown with defaults populated via UserDefaults.
  • A text input box allows entry of an identifier, which is added to the recent and favorites lists. The details are immediately shown for this location.
  • METAR, TAF, and MOS can be found in the details view, with METAR and TAF functioning. The METAR view includes some of the additional features described above.
  • Locations can be marked as favorites, which are immediately reflected in the rest of the app and kept in sync via @Binding.
  • A history of requested locations is stored via caching in Core Data and CloudKit.

Additional features:

  • Implementation using SwiftUI.
  • Integration with CoreData and CloudKit.
  • Button to reset all cached data.
  • Improved UI, including a slide-up sheet, app icon, splash screen, segmented pickers, navigation, maps, and colors.
  • A taste at pilot insight: prediction of cloud formation based on temps and dewpoint. I would have added more features like this with extra time (and may still for fun).
  • Regular clearing of cached data to save space.
  • Removal of airports from both lists via swipe (clearing history).

Caveats / Bugs

  • Removing airports from the list via swipe is a custom drag gesture. It can be performed laterally in either direction.
  • The list remains highlighted after selection. This can be fixed by removing the segmented picker from above the list. However, it is unchanged due to favored layout.
  • --> Tapping into location details requires tap on whitespace outside of the row text.

background's People

Contributors

mrgoodrich avatar

Watchers

James Cloos avatar  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.