Skip to content

Commit e7d3bc1

Browse files
committed
comments
1 parent 7728c1d commit e7d3bc1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Sources/d3-async-location/LocationManagerAsync.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-
///Location manager streaming data asynchronously via instance of ``AsyncStream`` returning from ``start``
10+
///Location manager streaming data asynchronously via instance of ``AsyncStream`` returning from ``start`` asking permission in advance if it's not determined.
1111
@available(iOS 15.0, watchOS 7.0, *)
1212
public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, ILocationManagerAsync{
1313

Sources/d3-async-location/viewmodel/LMViewModel.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import SwiftUI
99
import CoreLocation
1010

1111
/// Viewmodel posting locations
12+
/// Add or inject LMViewModel into a View ```@EnvironmentObject var model: LMViewModel```
13+
/// Call method start() within async environment to start async stream of locations
1214
@available(iOS 15.0, watchOS 7.0, *)
1315
public final class LMViewModel: ILocationManagerViewModel{
1416

0 commit comments

Comments
 (0)