Skip to content

mamadfrhi/Germany-Corona-Light

Repository files navigation

Swift RxSwift build

Germany Corona Light 🇩🇪🚦🦠

Banner

This iOS app shows you the status of Corona and related limitations in your current location within a charming traffic light!

Installation ✅

  1. Download or Clone the project first!

  2. Install pods (using Terminal) 👇🏼

3. $ cd .../project directory/Corona Light

4. $ pod update
  1. Open Corona Light.xcworkspace

  2. Press Cmd + R and see how it works

Testing 🔁

Simulate Location on iOS simulator

  1. Select simluator
  2. Choose Feature > Location > Custom Location... > Set following...
  • Lat: 49.763138
  • Long: 10.697828
  • It refers to Erlangen-Höchstadt

Test Localization 🇩🇪🇬🇧

  • To test the app in 🇩🇪 do the following in the simulator...

  • Settings > General > Language & Region > Deutsch

Code style 🛠

Used MVVM architecture by the use of RX

This app completely localized for use in Germany.

Design patterns ⚙️

  • State
  • Template
  • Coordinator
  • Singleton
  • Adapter
  • Delegate
  • Decorator
  • Facade

Principles 💎

  • OOP
  • SOLID
  • POP
  • Clean Code

Used Frameworks

Natives 👴🏼

  • UIKit 🎭
  • CoreLocation 📍
  • NotificationCenter ⚠️

Pods 🧔🏻

Network 🌐
View 🎭
RX 🐟

Main Classes Diagrams

Heart❤️ of the app

Screenshots 📱

English 🇬🇧

German 🇩🇪

Video 🎥

showcase.mp4

API Documents 📄

Click here to see API docs

How to use for other states in Germany? 🔁🇩🇪

This app is currently designed for use at Bavaria.

If you want to use it in other states of Germany do the following.

  1. Open .../Resources/Info.plist

  2. find stateName = Bayern;

  3. Replace Bayern with the name of your desired state.

🚧 Pay attention: In this file you must replace it with a local name (German name).

For example:

❌ (English) = Bavaria

✅ (German) = Bayern

Contribution

Discussion and pull requests are welcomed 💖


You can download app desing in AdobeXD here!