Skip to content

Commit 74a1124

Browse files
committed
update
1 parent 6fc089f commit 74a1124

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/d3-async-location/LocationManagerAsync.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, IL
2121

2222
// Streaming locations
2323

24-
/// Async stream of locations
24+
/// Async stream of ``CLLocation``
2525
private var locations : AsyncThrowingStream<CLLocation, Error>{
2626
.init(CLLocation.self) { continuation in
2727
streaming(with: continuation)
@@ -97,7 +97,7 @@ public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, IL
9797
manager.startUpdatingLocation()
9898
}
9999

100-
/// Passing location data
100+
/// Passing ``CLLocation`` data
101101
/// - Parameter location: Location data
102102
private func pass(location : CLLocation){
103103
stream?.yield(location)
@@ -127,10 +127,10 @@ public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, IL
127127

128128
// MARK: - Delegate
129129

130-
/// Pass locations into the async stream
130+
/// Pass ``CLLocation`` into the async stream
131131
/// - Parameters:
132132
/// - manager: Location manager
133-
/// - locations: Array of locations
133+
/// - locations: Array of ``CLLocation``
134134
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
135135
locations.forEach{ pass(location: $0) }
136136
}

Sources/d3-async-location/Permission.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import CoreLocation
99

10-
/// Helper class to determine permission to get access for streaming CLLocations
10+
/// Helper class to determine permission to get access for streaming ``CLLocation``
1111
@available(iOS 15.0, watchOS 7.0, *)
1212
final class Permission{
1313

0 commit comments

Comments
 (0)