Correct some docs typos (#11)

This commit is contained in:
Eude Lesperance 2019-03-24 22:58:33 -05:00 committed by Tosin Afolabi
parent 96591ef52c
commit dab02d34c0
3 changed files with 5 additions and 5 deletions

View File

@ -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 {

View File

@ -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() {

View File

@ -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