GradientCircularProgress
GradientCircularProgress copied to clipboard
iOS 12 issues with Xcode10
Hi guys,
awesome repository, we are using this for our application, thanks for sharing this.
I've been trying to build for iOS 12 under Xcode 10 and I'm having the following issues:
- [ ] = #39 which is reported here
- [ ] = Type 'UIWindow.Level' (aka 'CGFloat') has no member 'alert'
// BaseWindow.swift
...
backgroundColor = UIColor.clear
windowLevel = UIWindow.Level.alert + 1
makeKey()
// CircularProgressView.swift
- [ ] = 'didEnterBackgroundNotification' has been renamed to 'NSNotification.Name.UIApplicationDidEnterBackground'
NotificationCenter.default.addObserver(self,
selector: #selector(viewDidEnterBackground(_:)),
name: UIApplication.didEnterBackgroundNotification,
object: nil)
- [ ] = 'willEnterForegroundNotification' has been renamed to 'NSNotification.Name.UIApplicationWillEnterForeground'
// CircularProgressView.swift
NotificationCenter.default.addObserver(self,
selector: #selector(viewWillEnterForeground(_:)),
name: UIApplication.willEnterForegroundNotification,
object: nil)
Do you want me to send a PR for these issues? Thanks again.