Correct some docs typos (#11)
This commit is contained in:
parent
96591ef52c
commit
dab02d34c0
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue