Coronavirus tracker app for iOS & macOS with maps & charts

Overview

iOS macOS Swift

image

Features

  • Live data: Shows the most recent data, and updates automatically.
  • Distribution map with two levels of details:
    • Countries: When the user zooms out. Fewer details and reduced clutter.
    • Cities: When the user zooms in. More details.
  • Charts:
    • Current state chart for all countries (and cities).
    • Timeline chart for all countries (and cities).
    • Top affected countries chart with info about every country.
    • Daily new cases shows how fast the virus is spreading in a given country.
    • Cases since the 100th case how fast the virus is spreading in different countries.
    • Option for using a logarithmic scale.
  • Search for countries & cities.
  • Share stats & charts as images.
  • Today widget for worldwide stats.
  • Red color scale: Reflects the number of confirmed cases. In addition to increasing circle size.
  • Statistics: Including the number of confirmed, recovered, and deaths, in addition to percents.
  • iPad & macOS support.

image image

How to Use

1. iOS & macOS App

Build from source code

  1. Clone/Download the repo.
  2. Open Corona.xcodeproj in Xcode.
  3. Choose the right target (iOS or macOS).
  4. Build & run!

2. macOS App

Download the latest release for macOS.

Or install via brew:

brew cask install corona-tracker

Contribute

Please feel free to contribute pull requests or create issues for bugs and feature requests.

Author

Mhd Hejazi ([email protected])

Credits

Data

  • Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE)
  • Robert Koch Institute (RKI)
  • Bundesministeriums für Soziales, Gesundheit, Pflege und Konsumentenschutz (BMSGPK)
  • Bing COVID-19 Tracker (Bing)

Features

Data Sources

Translations

Libraries

Issues
  • Ideas & Discussion

    Ideas & Discussion

    Any suggestions or ideas? Feel free to share them here!

    opened by mhdhejazi 44
  • Added Romanian (ro-RO) translation

    Added Romanian (ro-RO) translation

    Thank you for your hard work! Stay safe 👍

    opened by rhcpfan 10
  • The data is not updated

    The data is not updated

    Platform: iPhone SE iOS: 10.3.2

    I just updated to the latest version today and am running into this issue on my phone. Can't update the data. Please make sure you're connected to the internet

    Of course I've checked and my phone is online and all other apps are able to connect to the internet. I also checked via Cellular, WiFi and even VPN and I always get the same error.

    image

    opened by frakman1 9
  • doesnt work on ipad

    doesnt work on ipad

    i tried to compile it for my ipad (5. Generation), but the app crashes as soon as i try to start it. i only tried it on my ipad because when i try recompiling it for my iPhone6s im getting this error msg: The maximum number of apps for free development profiles has been reached. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620383

    i only had the corona tracker on my iphone, nothing else which i compiled myself. i deleted an older version, rebooted but still the same. i dont know how to solve this. everything i found with google didnt help, any help welcome...

    thnx Helmar

    opened by helmarw 9
  • Use current math to estimate infected but not reported on city level

    Use current math to estimate infected but not reported on city level

    Story: As a user, I would like to know what the estimated infected but not reported is, ideally on a city level, but even on a state level for starters would be helpful. Sources for the math can be provided if needed, but a couple inputs would be fine as well.

    opened by nateritter 9
  • add background fetch and local notification for world

    add background fetch and local notification for world

    plans to add the ability to track several regions in the future

    opened by pbeo 7
  • Maps does not load white screen

    Maps does not load white screen

    Currently running into issues with the maps screen not loading it just appears white.

    opened by an20olives 7
  • Crash on app launch: Can't load 3rd party libraries

    Crash on app launch: Can't load 3rd party libraries

    Now #37 is fixed, but if I try to compile and launch the app crashes with the following error:

    dyld: Library not loaded: @rpath/Disk.framework/Disk
      Referenced from: /private/var/containers/Bundle/Application/146088EE-130F-4790-B27B-021A2DE1FA89/Corona Tracker.app/Corona Tracker
      Reason: image not found
    
    opened by patricks 7
  • feature suggestion - log scale graphs

    feature suggestion - log scale graphs

    I suggest the option for graphing "daily new cases" on a log scale graph, possibly also useful for other graphs as well.

    opened by Jimmysnielsen 7
  • Adding unit tests?

    Adding unit tests?

    Hi, I really like your project and appreciate that you're doing this! Would adding some tests to the app be beneficial? I want to help but this is my first time trying to contribute, and was wondering if this would be something I could help with. Thank you!

    opened by ejewik 6
  • Vietnamese Localization

    Vietnamese Localization

    • Add Vietnamese translation.
    • Update Readme.md
    opened by sjc-bui 0
  • Repo

    Repo

    opened by Berniberni88 0
  • Corona tracker

    Corona tracker

    opened by Berniberni88 0
  • Project is crashing

    Project is crashing

    Hi,

    I builded the program successfully on Xcode version 12.4. It didn't gave me a fatal error, but as I runned it, it jumped to the "JHURepoDataService.swift" File under Corona/Corona/Service/JHURepoDataService.swift to Line 281 "let latitude = Double(dataRow[DataFieldOrder.latitude.rawValue]) ?? 0" and said : "Thread 3 : swift runtime failure : Index out of range" then the Programm shut itself down. Before that happened it was stuck in the "Updating" screen. It happened to me with my Mac on macOS Big Sur version 11.2.2 with an Apple M1 chip. And with my Simulated iPhone 12 Pro and any other iPhone with iOS. I don't know what to do. Any advice would be helpful.

    opened by JMeidel 0
  • Zoom-in and zoom-out

    Zoom-in and zoom-out

    Bonjour, Comment fait-on pour zoomer et dé-zoomer dans la carte de Corona Tracker, SVP ??? On peur agrandir, mais impossible de revenir en arrière. Pas pratique du tout, SVP ? Sinon, c'est Super. Cordialement, YG Hello, How do you ** zoom in and zoom out ** in the Corona Tracker map, please ??? We fear to enlarge, but impossible to go back. Not practical at all, please? Otherwise, it's great. Regards, YG

    opened by Guyves 0
  • Add the vaccination data

    Add the vaccination data

    Hello,

    I have installed your app with Xcode and I can say one thing: great job. Also nice with the iOS 14 custom made widget. I have now a suggestion to improve the app: the vaccination data.

    As we seen, the vaccination campaign in the world have started since the beginning of January, and now, some APIs gives the data of vaccinated people from each country.

    What do you think ? For the color, use a light blue to represent the vaccinated data.

    Hope it will be implemented soon. As a junior iOS developer, it will be very hard and very long for me to add this feature, your architecture is very complex.

    opened by Kous92 1
  • iOS Widget not working

    iOS Widget not working

    iOS 10.3.2 When adding the Widget to the widgets homepage (far left), the widget fails to load:

    First, it attempts to load: image

    But fails and shows this screen: image

    opened by frakman1 0
  • Enable iOS widget on Big Sur

    Enable iOS widget on Big Sur

    The iOS 14 WidgetKit widget works excellent on iOS for me. I would like to have it on macOS too.

    opened by gklka 0
  • Does not work for iOS 10.3. No such module WidgetKit

    Does not work for iOS 10.3. No such module WidgetKit

    @mhdhejazi

    When updating the project from v 1.5 to 1.7.2, I get a compile error when using the iOS 10.3 Simulator. No such module 'WidgetKit'

    image

    opened by frakman1 0
  • Diagram is clipping / not scaling correctly in logarithmic mode

    Diagram is clipping / not scaling correctly in logarithmic mode

    See attached screenshot. The graph for confirmed cases per country is not showing cases over 1m when switched to logarithmic mode

    Running OS X Catalina, App installed via brew. Bildschirmfoto 2020-10-30 um 14 16 31

    opened by B0rax 0
Releases(v1.7.2)
  • v1.7.2(Aug 7, 2020)

    Stability Improvements

    • Always show day and month in charts.
    • FIXED: Some numbers were not shown because of an issue in JHU data.
    • FIXED: Some annotations were placed in the wrong locations.
    • FIXED: Negative numbers were shown for some stats.

    2 New Translations

    • Kurdish by @rawaz4
    • Croatian by @FranicevicNikola

    And other minor UI enhancements and bug fixes.

    Source code(tar.gz)
    Source code(zip)
    CoronaTracker-macOS.zip(1.69 MB)
  • v1.7.1(May 21, 2020)

    Stability Improvements

    • FIXED: Province-level data isn't shown for all countries.
    • FIXED: Time-series data is missing for Germany, Italy, and Spain.
    • FIXED: macOS app crashes for some users.

    3 New Translations

    • Ukrainian by @ValeriySoglaev
    • Albanian by @lor1x
    • Greek by @marquicodes

    And other minor UI enhancements and bug fixes.

    Source code(tar.gz)
    Source code(zip)
    CoronaTracker-macOS.zip(1.69 MB)
  • v1.7(Apr 29, 2020)

    Province/State Level Data

    • Added state-level data for Germany (Contributed by @stuffmc) (Data source)
    • Added state-level data for Austria (Contributed by @patricks) (Data source)
    • Added province-level data for many other counties (Data source)
    • Show provinces in the charts when a country is selected and province data is available.

    Fullscreen Charts

    As the volume of the data increases, it becomes more difficult to read charts and interact with them. With the new chart screen, you can now see the charts fullscreen and zoom in to see the finest details.

    • Tap/click on a chart to open it in a fullscreen mode.
    • Swipe down (iOS) or press the ESC button (macOS) to dismiss.

    New Chart Options

    • Added an option to show the total deaths since the 10th death.
    • Added an option to show the active cases for the most affected countries chart.
    • Added a logarithmic scale option to all charts.

    Better macOS UI

    • Added a toolbar to the main window
    • Added menu items and keyboard shortcuts for the main actions.

    Ten New Translations

    • Dutch by @hdatteln
    • Romanian by @rhcpfan
    • Korean by @dev-yong
    • Arabic by @hussamzain
    • Norwegian Bokmål by @comradekingu
    • Indonesian by @nikotidar
    • Danish by @peme
    • Chinese, Traditional (Taiwan) by @League2EB
    • Turkish by @nesimtunc
    • Hungarian by @BrotherLouie

    And lots of improvements, bug fixes, and UI enhancements.

    A big thank you to all who have contributed or supported this project in any way. Stay safe, stay healthy!

    Source code(tar.gz)
    Source code(zip)
    CoronaTracker-macOS.zip(1.68 MB)
  • v1.6(Apr 2, 2020)

    A New Chart

    The chart shows the confirmed cases by days since the 100th case for the most affected countries in addition to the selected location.

    Tip: You can tap on a country name to focus on its trendline.

    Chart Options

    You can now also see the daily new recovered and deaths by tapping on the new chart options button ( ⠇) and changing the mode. The same options are also added to the most affected countries chart.

    Improvements for macOS

    • Added a context menu to all charts and stats view that includes the chart options and a new item to copy the chart or stats image.

    • The country screen is now shown by default on macOS.

    • And the app icon has been updated to look more macOS-ish.

    Four New Translations

    • Simplified Chinese (by @erickzli)
    • Spanish (by @ejewik)
    • Japanese (by @dev-sora)
    • Polish (by @pbeo)

    And lots of improvements, bug fixes, and UI enhancements.

    Source code(tar.gz)
    Source code(zip)
    CoronaTracker-macOS.zip(1.58 MB)
  • v1.5(Mar 27, 2020)

    Daily New Cases Chart

    Added a new chart for daily new cases. This is an important chart as it shows how fast the virus is spreading in a given country. Keep your eyes on it and hope for an all-blue chart soon.

    Annotation Mode

    Added Annotation Mode button (on the top right). You can now switch between Confirmed, Active, Recovered, or Deaths.

    Active cases

    Show the number of active cases in the annotation balloon.

    Quick Share

    Added a context menu for quickly sharing charts & statistics (iOS: Tap and hold to see. macOS: Click the " ⠇" button -> Share)

    Six New Translations

    • German (by @sebastianbinder)
    • Swedish (by @FluffyDev2019)
    • Portuguese (by @ppamorim)
    • Italian (by @Ale111)
    • French (by @Risengan)
    • Russian (by @wacumov)

    And More

    • Show the charts for the active date range only.
    • Show all countries in the search screen.
    • Lots of improvements, bug fixes, and UI enhancements.

    Finally

    If you like the app you can help us by translating the app to your language or spreading the word. Thank you!

    Source code(tar.gz)
    Source code(zip)
    CoronaTracker-macOS.zip(1.09 MB)
  • v1.4(Mar 20, 2020)

    • Added new stats for the daily growth of confirmed, recovered, and death cases.
    • Added share functionality. You can share the stats & charts now (tap ⠇ button).
    • Added an update button (tap ⠇ button).
    • Added Today Widget for iOS (Contributed by Piotr Ożóg).
    • Removed the annoying alert and show a button when an update is available.
    • Bug fixes and improvements.
    Source code(tar.gz)
    Source code(zip)
    CoronaTracker-macOS.zip(1.30 MB)
  • v1.3.1(Mar 15, 2020)

  • v1.3(Mar 14, 2020)

  • v1.2.1(Mar 13, 2020)

Owner
Mhd Hejazi
Mobile App Developer & UI/UX Designer. Twitter: twitter.com/Hejazi
Mhd Hejazi
Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App

Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App Follow the tutorial at alfianlosari.com Features Filter image using predefin

Alfian Losari 49 Jul 1, 2021
An open-source SwiftUI Stack Overflow client

StackOv A SwiftUI Stackoverflow client We are currently in the developing process of the next version of StackOv app. The demo version of StackOv is a

Surf 203 Jul 21, 2021
Jetpack Compose and SwiftUI based Kotlin Multiplatform sample project (based on CityBikes API).

Jetpack Compose and SwiftUI based Kotlin Multiplatform sample project (based on CityBikes API).

John O'Reilly 266 Jul 28, 2021
An app to count down the days until upcoming milestones.

Milestones An app to count down the days until upcoming milestones. We all have something to look forward to. Built to try out the Swift Composable Ar

JP Simard 168 Jul 29, 2021
:closed_book: Swift Logging Utility for Xcode Google Docs

QorumLogs Swift Logging Utility in Xcode & Google Docs Log Levels class MyAwesomeViewController: UIViewController { override func viewDidLoad() {

Goktug Yilmaz 782 Jul 16, 2021
Frugal and native macOS Syncthing application bundle

Syncthing for macOS Introduction syncthing-macos project is a native macOS Syncthing tray application bundle. It bundles its own syncthing instance an

The Syncthing Project 1.2k Aug 2, 2021
A cross-platform Reddit client built in SwiftUI

A cross-platform Reddit client created in SwiftUI. Get the Public Beta Note: This project is far from complete. It still lacks many features of your t

Carson Katri 1k Aug 4, 2021
iOS app that detects LaTeX symbols from drawings. Built using PencilKit, SwiftUI, Combine and CoreML for iOS 14 and macOS 11.

DeTeXt Finding the symbol you want to use in LaTeX can be hard since you can't memorize all the possible commands and packages for every symbol you mi

Venkat 21 Jul 14, 2021
Convenient secure logging during development release in Swift 3, 4 5

Colorful, flexible, lightweight logging for Swift 3, Swift 4 & Swift 5. Great for development & release with support for Console, File & cloud platfor

SwiftyBeaver 5.3k Jul 30, 2021
An unofficial DevDocs API Documentation viewer for macOS.

DevDocs for macOS An unofficial DevDocs API Documentation viewer for macOS. Features Tabs Global shortcut (Option + Space), customizable Automatic dar

Douglas Teoh 292 Jul 31, 2021
Menu bar macOS app for running rkt in a macOS hypervisor CoreOS VM.

RktMachine is a macOS menu bar app providing a CoreOS VM using HyperKit and the macOS Hypervisor. It supports developer workflows using the rkt contai

Woof Woof, Inc. 28 Apr 13, 2021
💻 Democratizing Snippet Management (macOS/Win/Linux)

To Lepton users around the world in more than 130 countries: We hope you all stay safe, healthy, and strong as we get through the COVID-19 pandemic. L

CosmoX 8.7k Aug 4, 2021
SoundCloud for macOS and Windows

What is SoundCleod? SoundCleod is a desktop application which brings SoundCloud to macOS and Windows without using a web browser. Compared to using So

Márton Salomváry 949 Jul 28, 2021
A simple macOS app to preview animations created with Facebook's keyframes framework

Keyframes Player A simple app to preview animations created with Facebook's keyframes framework and export them to Core Animation archives. ⬇️ DOWNLOA

Guilherme Rambo 67 Jan 4, 2021