Skip to content

Commit

Permalink
Fix Combine Documentation Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vsanthanam committed Jul 2, 2022
1 parent 78d6d83 commit fcc261b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/// Use this property to observe reachability updates with [Combine](https://developer.apple.com/documentation/combine).
///
/// ```swift
/// let cancellable = NetworkMonitor.reachabilityPublisher
/// let cancellable = ReachabilityMonitor.reachabilityPublisher
/// .map(\.status.isReachable)
/// .removeDuplicates()
/// .replaceError(with: false)
Expand All @@ -53,7 +53,7 @@
/// Use this property to observe reachability updates with [Combine](https://developer.apple.com/documentation/combine).
///
/// ```swift
/// let cancellable = NetworkMonitor.reachabilityPublisher(forHost: "www.apple.com")
/// let cancellable = ReachabilityMonitor.reachabilityPublisher(forHost: "www.apple.com")
/// .map(\.status.isReachable)
/// .removeDuplicates()
/// .replaceError(with: false)
Expand All @@ -74,7 +74,7 @@
/// Use this property to observe reachability updates with [Combine](https://developer.apple.com/documentation/combine).
///
/// ```swift
/// let cancellable = NetworkMonitor.reachabilityPublisher(forHost: "www.apple.com")
/// let cancellable = ReachabilityMonitor.reachabilityPublisher(forHost: "www.apple.com")
/// .map(\.status.isReachable)
/// .removeDuplicates()
/// .replaceError(with: false)
Expand Down

0 comments on commit fcc261b

Please sign in to comment.