Skip to content

Commit 6fcaa2c

Browse files
jdishobobgodwinx
authored andcommitted
Include OSX, watchOSApplicationExtension, tvOS
1 parent faa654d commit 6fcaa2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/CLLocationManagerEvents+Rx.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ extension Reactive where Base: CLLocationManager {
7272
}
7373

7474
/// Reactive Observable for CLPlacemark with a given locale
75-
@available(iOS 11.0, *)
75+
@available(iOS 11.0, OSX 10.13, watchOSApplicationExtension 4.0, tvOS 11.0, *)
7676
public func placemark(preferredLocale: Locale) -> Observable<CLPlacemark> {
7777
return location.unwrap().flatMap { self.placemark(with: $0, preferredLocale: preferredLocale) }
7878
}
7979
/// Private reactive wrapper for `CLGeocoder`.`reverseGeocodeLocation(_:preferredLocale:completionHandler:)`
8080
/// used to search for placemark
81-
@available(iOS 11.0, *)
81+
@available(iOS 11.0, OSX 10.13, watchOSApplicationExtension 4.0, tvOS 11.0, *)
8282
private func placemark(with location: CLLocation, preferredLocale: Locale) -> Observable<CLPlacemark> {
8383
return Observable.create { observer in
8484
let geocoder = CLGeocoder()

0 commit comments

Comments
 (0)