Skip to content

Commit a011f36

Browse files
author
Vadym Kurachevskyi
committed
Documentation update.
Version bump.
1 parent a26de16 commit a011f36

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Or `UserReport.shared?.trackSectionScreenView(sectionId)` for measuring section
7676

7777
```swift
7878
class ViewController: UIViewController {
79-
override open func viewDidAppear(_ animated: Bool) {
79+
override open func viewDidAppear(_ animated: Bool) {
8080
super.viewDidAppear(animated)
8181
8282
// Tracking screen view
@@ -90,15 +90,15 @@ If you want to automatically measure views as screens using the `UserReportViewC
9090

9191
```swift
9292
class ViewController: UserReportViewController {
93-
...
93+
...
9494
}
9595
```
9696

9797
### Display mode
98-
The survey can be appear in two ways:
98+
The survey can appear in two ways:
9999

100100
- `.alert` - show survey like an alert view (Default)
101-
- `.fullScreen` - show survey in full screen mode, like the modal view controller
101+
- `.fullScreen` - show survey in full-screen mode, like the modal view controller
102102

103103
To change the display mode, please specify following:
104104

@@ -118,7 +118,7 @@ UserReport.shared?.updateSettings(settings)
118118
```
119119

120120
### Mute
121-
In order for the survey not to be appear on important screens, you can use a variable `mute`.
121+
In order for the survey not to appear on important screens, you can use a variable `mute`.
122122

123123
```swift
124124
UserReport.shared?.mute = true
@@ -139,12 +139,12 @@ UserReport.shared?.updateUser(user)
139139
### Session info
140140
UserReport SDK stores the data on the count of screens viewed and the time the application is used. If necessary, you can get this data from a variable `session`. The session contains the following values:
141141
142-
- `screenView` - number of screen viewed in current session
143-
- `totalScreenView` - number of screen viewed in all session
142+
- `screenView` - number of screens viewed in the current session
143+
- `totalScreenView` - number of screens viewed in all session
144144
- `sessionSeconds` - number of seconds spent in the application for current session
145145
- `totalSecondsInApp` - number of seconds spent in the application for all time
146146
- `localQuarantineDate` - date until the survey will not appear again
147-
- `settings` - current settings for appear the survey
147+
- `settings` - current settings for appearing the survey
148148
149149
150150
```swift

UserReport.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "UserReport"
19-
s.version = "0.0.9"
19+
s.version = "1.0.0"
2020
s.summary = "UserReport SDK for iOS."
2121

2222
# This description is used to generate tags and improve search results.

0 commit comments

Comments
 (0)