Skip to content

aaryankotharii/Corona-Widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Covid-19 Tracking Widget for iOS 14

WidgetKit

WidgetKit gives users ready access to content in apps by putting widgets on the iOS Home screen or macOS Notification Center. Widgets now come in multiple sizes, and users can visit the new widget gallery to search, preview sizes, and place them anywhere on the Home screen to access important details at a glance. Know more here

Widgets

Widgets can be made in three sizes, namely : small , medium and large. Users can use their preferred size of widget on their choice of location in the homescreen.

Preview

The type of content that each widget shows varies based on users choice and widget size.

Installation 🛠

  • Clone / download this repository.
  • change the bundle identifier in project settings.
  • run the app.

⚠️ Xcode 12.0 or above is required to run this project.

How to Use?

struct CurrentCountry {
    static let country : Country = .india
}
  • choose your choice of country from Country enumeraion. default is 🇮🇳 India
  • run the application

Includes :

  • SwiftUI
  • WidgetKit
  • Intents
  • Combine
  • Networking
  • Charts

Author

License

Copyright 2020 Aaryan Kothari.

Licensed under MIT License: https://opensource.org/licenses/MIT