SWAnimator

class SWAnimator : NSObject, UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate, UIGestureRecognizerDelegate

Undocumented

  • Undocumented

    Declaration

    Swift

    weak var delegate: SWAnimatorDelegate?
  • Undocumented

    Declaration

    Swift

    fileprivate var initialPoint: CGPoint
  • Undocumented

    Declaration

    Swift

    fileprivate var backgroundView: UIView?
  • Undocumented

    Declaration

    Swift

    fileprivate var heightConstraint: NSLayoutConstraint?
  • Undocumented

    Declaration

    Swift

    fileprivate var toViewController: UIViewController?
  • Undocumented

    Declaration

    Swift

    fileprivate var fromViewController: UIViewController?
  • Undocumented

    Declaration

    Swift

    var dragViewRect: CGRect
  • Undocumented

    Declaration

    Swift

    var minHeightRatio: CGFloat
  • Undocumented

    Declaration

    Swift

    var maxHeightRatio: CGFloat
  • Undocumented

    Declaration

    Swift

    var shouldEnablePanGesture: Bool
  • Undocumented

    Declaration

    Swift

    var shouldEnableTapGesture: Bool
  • Undocumented

    Declaration

    Swift

    var shouldAddBackgroundView: Bool
  • Undocumented

    Declaration

    Swift

    func setFixedHeightRatio(_ fixedRatio: CGFloat)
  • Undocumented

    Declaration

    Swift

    func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning?
  • Undocumented

    Declaration

    Swift

    func transitionDuration(using transitionContext: UIViewControllerContextTransitioning?) -> TimeInterval
  • Undocumented

    Declaration

    Swift

    func animateTransition(using transitionContext: UIViewControllerContextTransitioning)
  • Undocumented

    Declaration

    Swift

    @objc
    fileprivate func toViewControllerDidPan(_ gesture: UIPanGestureRecognizer)
  • Undocumented

    Declaration

    Swift

    @objc
    fileprivate func handleTap(_ sender: UITapGestureRecognizer? = nil)
  • Undocumented

    Declaration

    Swift

    fileprivate func handleDismiss()
  • Undocumented

    Declaration

    Swift

    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool