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.
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
Feel free to do anything to this project.