diff --git a/Framework/Sources/FloatingPanelBehavior.swift b/Framework/Sources/FloatingPanelBehavior.swift index d8504c3..4bbcdb5 100644 --- a/Framework/Sources/FloatingPanelBehavior.swift +++ b/Framework/Sources/FloatingPanelBehavior.swift @@ -9,7 +9,7 @@ public protocol FloatingPanelBehavior { /// Asks the behavior object if the floating panel should project a momentum of a user interaction to move the proposed position. /// /// The default implementation of this method returns true. This method is called for a layout to support all positions(tip, half and full). - /// Therfore, `proposedTargetPosition` can only be `FloatingPanelPosition.tip` or `FloatingPanelPosition.full`. + /// Therefore, `proposedTargetPosition` can only be `FloatingPanelPosition.tip` or `FloatingPanelPosition.full`. func shouldProjectMomentum(_ fpc: FloatingPanelController, for proposedTargetPosition: FloatingPanelPosition) -> Bool /// Returns a deceleration rate to calculate a target position projected a dragging momentum. @@ -19,7 +19,7 @@ public protocol FloatingPanelBehavior { /// Returns the progress to redirect to the previous position. /// - /// The progress is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the floating panel is impossible to move to the next posiiton. The default value is 0.5. Values less than 0.0 and greater than 1.0 are pinned to those limits. + /// The progress is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the floating panel is impossible to move to the next position. The default value is 0.5. Values less than 0.0 and greater than 1.0 are pinned to those limits. func redirectionalProgress(_ fpc: FloatingPanelController, from: FloatingPanelPosition, to: FloatingPanelPosition) -> CGFloat /// Returns a UIViewPropertyAnimator object to project a floating panel to a position on finger up if the user dragged.