Skip to content

Commit e961bba

Browse files
committed
Update README.md
1 parent faaa863 commit e961bba

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@
1616
### 2. Add or inject LMViewModel into a View
1717

1818
```
19-
@EnvironmentObject var model: LMViewModel
20-
21-
- LMViewModel Parameters:
22-
- accuracy: The accuracy of a geographical coordinate.
23-
- activityType: Constants indicating the type of activity associated with location updates.
24-
- distanceFilter: A distance in meters from an existing location.
25-
- backgroundUpdates: A Boolean value that indicates whether the app receives location updates when running in the background
19+
@EnvironmentObject var model: LMViewModel
20+
2621
```
2722

23+
#### LMViewModel Parameters
24+
||Param||Description||
25+
|accuracy| The accuracy of a geographical coordinate.|
26+
|activityType|Constants indicating the type of activity associated with location updates.|
27+
|distanceFilter|A distance in meters from an existing location.|
28+
|backgroundUpdates|A Boolean value that indicates whether the app receives location updates when running in the background|
29+
2830

2931

3032
### 3. Call ViewModel method start() within async environment

0 commit comments

Comments
 (0)