mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-06-16 12:24:31 +00:00
♻️ :: Update to Swift 4.2
This commit is contained in:
@@ -83,7 +83,7 @@ class GradientLoadingBarViewModelTestCase: XCTestCase {
|
||||
}.add(to: &disposal)
|
||||
|
||||
// When
|
||||
notificationCenter.post(name: .UIWindowDidBecomeKey,
|
||||
notificationCenter.post(name: UIWindow.didBecomeKeyNotification,
|
||||
object: nil)
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ class GradientLoadingBarViewModelTestCase: XCTestCase {
|
||||
|
||||
// When
|
||||
for _ in 1 ... 3 {
|
||||
notificationCenter.post(name: .UIWindowDidBecomeKey,
|
||||
notificationCenter.post(name: UIWindow.didBecomeKeyNotification,
|
||||
object: nil)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user