Skip to content

Commit

Permalink
Correct some docs typos (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeude96 authored and TosinAF committed Mar 25, 2019
1 parent 96591ef commit dab02d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion PanModal/Animator/PanModalPresentationAnimator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions PanModal/Controller/PanModalPresentationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -384,7 +384,7 @@ private extension PanModalPresentationController {
}

/**
Caluclates & stores the layout anchor points & options
Calculates & stores the layout anchor points & options
*/
func configureViewLayout() {

Expand Down
4 changes: 2 additions & 2 deletions PanModal/Presentable/PanModalPresentable+LayoutHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit dab02d3

Please sign in to comment.