iOS 14 widget for stats on COVID -19.

Overview

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

Comments
  • bug: largeWidget fix padding

    bug: largeWidget fix padding

    Describe the bug The large widget has first 4 rows too close and the following 3 with greater padding.

    To Reproduce Steps to reproduce the behavior:

    1. Add large widget to your homescreen.
    2. view bug.

    Expected behavior The padding throughout the widget should be uniform.

    Testing (please complete the following information):

    • Device: iPhone 11
    • iOS: 14.0
    • Xcode: 12.6 beta
    status: available hacktoberfest good-first-issue category: coding 
    opened by aaryankotharii 5
  • Fix large widget padding

    Fix large widget padding

    Description

    Have changed the padding for large widget

    Fixes # [ISSUE]

    Type of Change:

    Delete irrelevant options.

    • Code
    • Quality Assurance
    • User Interface

    Code/Quality Assurance Only

    • Bug fix (non-breaking change which fixes an issue)

    How Has This Been Tested?

    XCode - 12.0.1 iPhone SE (2nd Generation) iPhone 11

    Simulator Screen Shot - iPhone 11 - 2020-10-19 at 21 52 41

    Simulator Screen Shot - iPhone SE (2nd generation) - 2020-10-19 at 21 52 53

    Checklist:

    Delete irrelevant options.

    • [x] My PR follows the style guidelines of this project
    • [x] I have performed a self-review of my own code or materials
    • [x] I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
    • [x] I have made corresponding changes to the documentation
    • [x] Any dependent changes have been merged

    Code/Quality Assurance Only

    • [x] My changes generate no new warnings
    hacktoberfest-accepted 
    opened by devanshimodha 2
  • Build Errors

    Build Errors

    I have tried to build it with Xcode 12 (having made no changes) and there are 5 build errors, the first of which is:

    /Corona Widget/Widget/Widget/Widget.swift:13:8: Type 'DataProvider' does not conform to protocol 'TimelineProvider'

    I am guessing the code is out of date?

    opened by charlesofkastrup 2
  • Feat: format all numbers with commas.

    Feat: format all numbers with commas.

    Is your feature request related to a problem? Please describe. With covid-19 cases at an all time high and a total of 34M worldwide cases ( at time of writing ), It gets difficult to read the such large numbers in widgets.

    Describe the solution you'd like The numbers should be well formatted with commas at every thousandth place. This makes interpretation easier and improves user experience.
    eg: 987654321 -> 987,654,321

    Describe alternatives you've considered N/A Additional context N/A

    hacktoberfest good-first-issue 
    opened by aaryankotharii 1
  • Reconfigures widget to IntentConfiguration

    Reconfigures widget to IntentConfiguration

    Description

    Reconfigures country using widget intent configuration

    Fixes #8

    Type of Change:

    • Code
    • New feature (non-breaking change which adds functionality pre-approved by mentors)

    Checklist:

    • [x] My PR follows the style guidelines of this project
    • [x] I have performed a self-review of my own code or materials
    • [x] I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
    • [ ] I have made corresponding changes to the documentation
    • [ ] Any dependent changes have been merged

    Code/Quality Assurance Only

    • [x] My changes generate no new warnings
    • [ ] My PR currently breaks something (fix or feature that would cause existing functionality to not work as expected)
    status: needs-review hacktoberfest-accepted 
    opened by jacquealvesb 0
  • Feat: reconfigure widget to IntentConfiguration.

    Feat: reconfigure widget to IntentConfiguration.

    Is your feature request related to a problem? Please describe. Currently if I want to change the country I have to manually change it in Xcode and install the widget in my phone.

    Describe the solution you'd like It would be great if I can change the widget's country from my phone itself. This can be done by reconfiguring the widget to IntentConfiguration. So a users can long press on a widget and its gives them the option to Edit Widget where they can change the country.

    Describe alternatives you've considered N/A Additional context You can refer here for more.

    type: enhancement status: available hacktoberfest category: user-experience category: coding 
    opened by aaryankotharii 0
Owner
Aaryan Kothari
Aaryan Kothari
COVID Safe Paths (based on Private Kit) is an open and privacy preserving system to use personal information to battle COVID

COVID Safe Paths is a mobile app for digital contract tracing (DCT) sponsored by Path Check a nonprofit and developed by a growing global community of engineers, designers, and contributors. Safe Paths is based on research originally conducted at the MIT Media Lab.

PathCheck Foundation 470 Nov 6, 2022
ViruSafe aims to help the fight with COVID-19 by offering people to share their symptoms as well track the spread of COVID-19 with an interactive map

ViruSafe aims to help the fight with COVID-19 by offering people to share their symptoms as well track the spread of COVID-19 with an interactive map, that shows how the infection has spread throughout Bulgaria.

scalefocus 16 Feb 9, 2022
Space! – an iOS 14 widget displaying NASA's Astronomy Picture of the Day

Space! NASA's Astronomy Picture of the Day – now on your Home Screen with widgets! Space! displays the latest APOD photo curated by NASA every day. Se

Jacob Bandes-Storch 72 Dec 17, 2022
SwiftUI iOS Widget and WatchOS app that randomly shows a word of the day with description and example.

Word Of The Day iOS Widget and WatchOS app made in SwiftUI that displays a random word of the day with description and example of usuage. Requirements

Kyle Dold 53 Nov 29, 2022
Headline News Widget for Better Touch Tool. You can display the articles fetched by rss.

BTTPluginHeadLineNews This is a headline news widget plugin for BTT(Better Touch Tool) You can display the articles fetched by rss. (Pock version is h

null 4 Jul 23, 2022
Weather App with widget that fetches real weather data using the Open Weather API

WeatherExtension App Demo WeatherExtension.mp4 Description Weather App that fetches real weather data using the Open Weather API Getting Started clone

Kayla Golder 0 Oct 21, 2021
Lightweight library helping to embed Mercuryo Widget into their mobile apps

Mercuryo-Widget Mercuryo Widget Wrapper is a lightweight library for developers of apps who embed Mercuryo Widget into their mobile UX. Solely purpose

Mercuryo.io 3 Apr 22, 2022
Aplikasi CrypTraces adalah MacOS Widget Crypto Tracker dengan SwiftUI, Combine & Cocoa Framework, dan WebSocket & CoinCap API

Aplikasi CrypTraces adalah MacOS Widget Crypto Tracker dengan SwiftUI, Combine & Cocoa Framework, dan WebSocket & CoinCap API. Aplikasi ini berbentuk Widget di Menu Bar MacOS dengan menampilkan beberapa Crypto Currency seperti Bitcoin (BTC), Ethereum (ETH), Dogecoin (DOGE), Monero (XMR), dan Litecoin (LTC).

DK 6 Aug 1, 2022
iOS application to help fight COVID-19

iOS application to help fight COVID-19 This app is aiming at helping fight COVID-19 spread by collecting anonymous data about people meeting each othe

Covid World 12 Feb 9, 2022
Aplikasi iOS Statistik Internasional Penyebaran Covid-19 dengan SwiftUI, MVVM Design Pattern, dan REST APIs dari rapidapi.com

CovStats CovStats adalah aplikasi iOS Data Statistik Internasional Covid-19 yang datanya didapatkan dari rapidapi.com dengan struktur REST API. Dibuat

DK 7 Aug 1, 2022
COVID-19 SwiftUI Demo

COVID-19_SwiftUI_Demo About COVID-19_SwiftUI_Demo is the coronavirus information application using SwiftUI which is first introduced in WWDC19 keynote

Hưng Thái 17 Feb 9, 2022
A simple App to Track the status of Covid-19 around the World. Using SwiftUI and GraphQL

CovidUI CovidUI is a simple App to Track the status of Covid-19 around the World. This is a simple App I made to track the spread of Covid-19 for me a

Mathias Quintero 77 Dec 14, 2022
Get notified about available COVID-19 vaccination appointments in Berlin's vaccination centers

VaccinationMonitor If you live in Berlin you might know how difficult it is to find an appointment to get a COVID-19 vaccination. This app notifies yo

Christian Lobach 8 Jan 14, 2022
EU Digital COVID Certificate Kit for the Apple Platform  (unofficial)

EU Digital COVID Certificate Kit A Swift Package to decode, verify and validate EU Digital COVID Certificates for iOS, tvOS, watchOS and macOS Disclai

Sven Tiigi 32 Oct 4, 2022
Covid 19 Tracing Mobile Application

PVAMU-COVID19-APP Covid 19 Tracing Mobile Application This is my Senior Design Project 2021-2022 Mobile applications are the new gateway to have easy

null 0 Nov 15, 2021
Rakning C-19 is an app that can be downloaded voluntarily and facilitates the contact tracing process amidst the ongoing Covid-19 pandemic in Iceland

Rakning C-19 App Rakning C-19 is an app that can be downloaded voluntarily and facilitates the contact tracing process amidst the ongoing Covid-19 pan

Aranja 242 Nov 21, 2022
Koronavilkku - the official COVID-19 Exposure Notifications app

Koronavilkku iOS app Koronavilkku is the official COVID-19 Exposure Notifications app for Finland, maintained by the Finnish Institute for Health and

Finnish Institute for Health and Welfare (THL) 76 Oct 7, 2022
COVID Alert Mobile App

This repository implements a React Native client application for Apple/Google's Exposure Notification framework, informed by the guidance provided by Canada's Privacy Commissioners.

Canadian Digital Service – Service numérique canadien 900 Dec 21, 2022
Flixster-iOS - Flixster iOS Project for CodePath iOS Course

Flixster-iOS Flixster iOS Project for CodePath iOS Course Flix Flix is an app th

null 0 Feb 3, 2022