diff --git a/src/transitions/Transition.swift b/src/transitions/Transition.swift index 9bcf89d..332c650 100644 --- a/src/transitions/Transition.swift +++ b/src/transitions/Transition.swift @@ -70,10 +70,12 @@ public protocol TransitionWithPresentation: Transition { The returned presentation controller may choose to conform to WillBeginTransition in order to associate reactive motion with the transition. + + If nil is returned then no presentation controller will be used. */ func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, - source: UIViewController) -> UIPresentationController + source: UIViewController) -> UIPresentationController? } /**