Skip to content

Commit

Permalink
Merge pull request #4 from bluwave/keywordArgumentsNotNeededInClosure
Browse files Browse the repository at this point in the history
keyword argument not needed in closure
  • Loading branch information
tristanhimmelman committed Mar 16, 2016
2 parents e51065d + a9ae70e commit 0ab0a0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ZoomTransition/ZoomTransition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public class ZoomTransition: UIPercentDrivenInteractiveTransition, UIViewControl
self.transitionView?.frame = self.toFrame!
}

}) { (Bool finished) -> Void in
}) { (finished) -> Void in
self.transitionView?.removeFromSuperview()
self.fromViewController?.view.alpha = 1
self.toView?.hidden = false
Expand Down Expand Up @@ -163,7 +163,7 @@ public class ZoomTransition: UIPercentDrivenInteractiveTransition, UIViewControl
if (self.interactive == false){
self.transitionView?.frame = self.toFrame!
}
}) { (Bool finished) -> Void in
}) { (finished) -> Void in
if self.interactive == false {
self.zoomOutTransitionComplete()
}
Expand Down Expand Up @@ -257,7 +257,7 @@ public class ZoomTransition: UIPercentDrivenInteractiveTransition, UIViewControl
}
self.transitionView?.contentMode = self.toView!.contentMode

}, completion: { (Bool finished) -> Void in
}, completion: { (finished) -> Void in
self.zoomOutTransitionComplete()
self.interactive = false
})
Expand Down

0 comments on commit 0ab0a0d

Please sign in to comment.