Coder Social home page Coder Social logo

aire-libre's Introduction

Aire Libre for iOS, iPadOS, macOS and watchOS

Spanish

The purpose of this application is to allow users to view nearby and available sensors and Air Quality Index (AQI) readings obtained through the Aire Libre project API, hence its name. More information about the project can be found at www.airelib.re.

All data consumed and displayed in the application are obtained from the endpoint provided by the project mentioned above.

Screenshots

Apps

iOS iOS iPadOS iPadOS
macOS macOS watchOS watchOS

Widgets

iOS/iPadOS Home Screen iOS/iPadOS Home Screen iOS Lock Screen iOS Lock Screen
watchOS watchOS macOS medium macOS

Technologies and Frameworks used

The project utilizes SwiftUI as the user interface framework across all platforms and widgets. This provides the advantage of sharing common code between different project targets.

It is important to note that no third-party libraries are used in the development. This decision has the benefit of avoiding the need to include dependency managers such as Swift PM, Cocoapods, among others.

Project Organization

Below is a diagram that illustrates the file structure of the project.

Here is a diagram showcasing the components and dependencies of the project.

Shared App UI contains common code used by the applications. This code includes Views, ViewModels, navigation, utilities, and extensions. It is important to mention that the architecture used for the applications is MVVM.

Shared Widget UI encompasses the common code necessary for the widgets to function. This includes views for different widget sizes, Entries, and Configurations.

Both the applications and widgets depend on a set of common code that provides the foundation for their functionality. This code is located in the Common folder and includes the following:

  • Localization: Classes and resources used to access localized strings.
  • Stores: Used to access local persistence, with an implementation that utilizes CoreData.
  • Models: Common models used throughout the project.
  • Services
    • Networking: Abstractions and classes for accessing the network and obtaining data from the web service.
    • Persistence: Abstractions and implementations for persistence services.
  • Colors: Global colors used throughout the project.
  • AQIGauge: A widely-used Gauge view in the project.
  • Utils, Extensions: Miscellaneous utilities and extensions.

Working with the Project

To open the project, clone the repository and open the Aire Libre.xcodeproj file.

You can report bugs and submit PRs if you wish to contribute to the project. Suggestions and feedback are welcome.

License

GNU General Public License

aire-libre's People

Contributors

marcioadr88 avatar

Watchers

 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.