Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit dab02d3

Browse files
lkeude96Tosin Afolabi
authored andcommitted
Correct some docs typos (#11)
1 parent 96591ef commit dab02d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

PanModal/Animator/PanModalPresentationAnimator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ extension PanModalPresentationAnimator: UIViewControllerAnimatedTransitioning {
124124
}
125125

126126
/**
127-
Perfroms the appropriate animation based on the transition style
127+
Performs the appropriate animation based on the transition style
128128
*/
129129
public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
130130
switch transitionStyle {

PanModal/Controller/PanModalPresentationController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public class PanModalPresentationController: UIPresentationController {
220220
public extension PanModalPresentationController {
221221

222222
/**
223-
Tranisition the PanModalPresentationController
223+
Transition the PanModalPresentationController
224224
to the given presentation state
225225
*/
226226
public func transition(to state: PresentationState) {
@@ -384,7 +384,7 @@ private extension PanModalPresentationController {
384384
}
385385

386386
/**
387-
Caluclates & stores the layout anchor points & options
387+
Calculates & stores the layout anchor points & options
388388
*/
389389
func configureViewLayout() {
390390

PanModal/Presentable/PanModalPresentable+LayoutHelpers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extension PanModalPresentable where Self: UIViewController {
3838
}
3939

4040
/**
41-
Returns the short form Y postion
41+
Returns the short form Y position
4242

4343
- Note: If voiceover is on, the `longFormYPos` is returned.
4444
We do not support short form when voiceover is on as it would make it difficult for user to navigate.
@@ -55,7 +55,7 @@ extension PanModalPresentable where Self: UIViewController {
5555
}
5656

5757
/**
58-
Returns the long form Y postion
58+
Returns the long form Y position
5959

6060
- Note: We cap this value to the max possible height
6161
to ensure content is not rendered outside of the view bounds

0 commit comments

Comments
 (0)