From dab02d34c02b0695988e8064bb51395c70084374 Mon Sep 17 00:00:00 2001 From: Eude Lesperance Date: Sun, 24 Mar 2019 22:58:33 -0500 Subject: [PATCH] Correct some docs typos (#11) --- PanModal/Animator/PanModalPresentationAnimator.swift | 2 +- PanModal/Controller/PanModalPresentationController.swift | 4 ++-- PanModal/Presentable/PanModalPresentable+LayoutHelpers.swift | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PanModal/Animator/PanModalPresentationAnimator.swift b/PanModal/Animator/PanModalPresentationAnimator.swift index 44c7653d..183eb763 100644 --- a/PanModal/Animator/PanModalPresentationAnimator.swift +++ b/PanModal/Animator/PanModalPresentationAnimator.swift @@ -124,7 +124,7 @@ extension PanModalPresentationAnimator: UIViewControllerAnimatedTransitioning { } /** - Perfroms the appropriate animation based on the transition style + Performs the appropriate animation based on the transition style */ public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) { switch transitionStyle { diff --git a/PanModal/Controller/PanModalPresentationController.swift b/PanModal/Controller/PanModalPresentationController.swift index b1accf04..c8e7af20 100644 --- a/PanModal/Controller/PanModalPresentationController.swift +++ b/PanModal/Controller/PanModalPresentationController.swift @@ -220,7 +220,7 @@ public class PanModalPresentationController: UIPresentationController { public extension PanModalPresentationController { /** - Tranisition the PanModalPresentationController + Transition the PanModalPresentationController to the given presentation state */ public func transition(to state: PresentationState) { @@ -384,7 +384,7 @@ private extension PanModalPresentationController { } /** - Caluclates & stores the layout anchor points & options + Calculates & stores the layout anchor points & options */ func configureViewLayout() { diff --git a/PanModal/Presentable/PanModalPresentable+LayoutHelpers.swift b/PanModal/Presentable/PanModalPresentable+LayoutHelpers.swift index 3c13b2aa..49563b46 100644 --- a/PanModal/Presentable/PanModalPresentable+LayoutHelpers.swift +++ b/PanModal/Presentable/PanModalPresentable+LayoutHelpers.swift @@ -38,7 +38,7 @@ extension PanModalPresentable where Self: UIViewController { } /** - Returns the short form Y postion + Returns the short form Y position - Note: If voiceover is on, the `longFormYPos` is returned. 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 { } /** - Returns the long form Y postion + Returns the long form Y position - Note: We cap this value to the max possible height to ensure content is not rendered outside of the view bounds