mirror of
https://github.com/ReactiveX/RxSwift.git
synced 2024-10-05 06:27:29 +03:00
Adds a work around to an error in swifts handling of preprocessor directives
This commit is contained in:
parent
698a50b381
commit
55f3ec4041
@ -10,11 +10,11 @@ import Foundation
|
||||
|
||||
#if os(iOS)
|
||||
import UIKit
|
||||
|
||||
|
||||
#if !RX_NO_MODULE
|
||||
import RxSwift
|
||||
#endif
|
||||
|
||||
|
||||
extension UIApplication {
|
||||
|
||||
/**
|
||||
@ -26,4 +26,5 @@ import Foundation
|
||||
}.asObserver()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user