/Coronavirus-in-status-bar

A MacOS app lives in your status bar that shows data of coronavirus outbreak.

Primary LanguageSwift

Coronavirus-in-status-bar

This project is a personal practicing of creating an agent app on Mac OS.

Congifurations are hard-coded. Currently it only displays statistical data of China, since I'm a Chinese.

If you wanna use this app, you'll need to:

Edit AppDelegate.swift:

    let global:Bool = false
    let regions = ["China","Taiwan","Hong Kong","Macau"]
    let refreshEvery:Int = 60

Set global to true if you care about the world.

Set global to false and put countries that you care about in regions.

Check the country names from this repo, from where I fetch data.

Denpendencies

This project uses Cocoapods to manage dependencies.

In your shell, navigate to the directory where Podfile lives, then type the follow command to install dependencies.

pod install

Happy hacking!

Feel free to do anything to this project.