Skip to content

Commit 8f3afd7

Browse files
author
Martin Barreto
authored
Merge pull request #614 from ikesyo/patch-1
Fix typo in README
2 parents 56acdd9 + 7fedf71 commit 8f3afd7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,26 +145,26 @@ public var pagerBehaviour: PagerTabStripBehaviour
145145

146146
```swift
147147
public enum PagerTabStripBehaviour {
148-
case Common(skipIntermediteViewControllers: Bool)
149-
case Progressive(skipIntermediteViewControllers: Bool, elasticIndicatorLimit: Bool)
148+
case common(skipIntermediteViewControllers: Bool)
149+
case progressive(skipIntermediteViewControllers: Bool, elasticIndicatorLimit: Bool)
150150
}
151151
```
152152

153153
Default Values:
154154
```swift
155155
// Twitter Type
156-
PagerTabStripBehaviour.Common(skipIntermediteViewControllers: true)
156+
PagerTabStripBehaviour.common(skipIntermediateViewControllers: true)
157157
// Segmented Type
158-
PagerTabStripBehaviour.Common(skipIntermediteViewControllers: true)
158+
PagerTabStripBehaviour.common(skipIntermediateViewControllers: true)
159159
// Bar Type
160-
PagerTabStripBehaviour.Progressive(skipIntermediteViewControllers: true, elasticIndicatorLimit: true)
160+
PagerTabStripBehaviour.progressive(skipIntermediateViewControllers: true, elasticIndicatorLimit: true)
161161
// ButtonBar Type
162-
PagerTabStripBehaviour.Progressive(skipIntermediteViewControllers: true, elasticIndicatorLimit: true)`
162+
PagerTabStripBehaviour.progressive(skipIntermediateViewControllers: true, elasticIndicatorLimit: true)
163163
```
164164

165-
As you might have noticed `Common` and `Progressive` enumeration cases has `skipIntermediteViewControllers` and `elasticIndicatorLimit` associated values.
165+
As you might have noticed `common` and `progressive` enumeration cases has `skipIntermediateViewControllers` and `elasticIndicatorLimit` associated values.
166166

167-
`skipIntermediteViewControllers` allows us to skip intermediate view controllers when a tab indicator is tapped.
167+
`skipIntermediateViewControllers` allows us to skip intermediate view controllers when a tab indicator is tapped.
168168

169169
`elasticIndicatorLimit` allows us to tension the indicator when we reach a limit, I mean when we try to move forward from last indicator or move back from first indicator.
170170

0 commit comments

Comments
 (0)