Simple iOS app written in Swift 5 to easily keep up to date with the corona virus stats of Sri Lanka using the API provided by Health Promotion Bureau.
iOS 10+
Corona use number of open source projects to work properly
- Alamofire
SwiftyJSON(Removed in 85a82b3)- RxSwift
- RxCocoa
- RxDataSources
- NotificationBannerSwift
- Swinject
- SwinjectStoryboard
- SkeletonView
- TJActivityViewController
I had to tweak NotificationBannerSwift a little bit to avoid a crash. So if in case you do a pod install
make sure to do the following change in BaseNotificationBanner.swift file,
/// The main window of the application which banner views are placed on
private let appWindow: UIWindow? = {
var window:UIWindow? = UIApplication.shared.keyWindow
if window == nil{
// Fetching window for iOS 13
if #available(iOS 13.0, *) {
window = UIApplication.shared.windows.filter({$0.windowScene?.activationState == .foregroundActive}).first!
}
}
return window
}()
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.