Movie browser app written in Swift 5 using YTS APIs.
iOS 11+
YTS-Mobile uses number of open source dependencies for its magic
- Alamofire
- RxSwift
- NotificationBannerSwift
- Swinject
- SwinjectStoryboard
- SkeletonView
- Cosmos
- Kingfisher
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.