Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
Adding an additional KVO invalidation.
Browse files Browse the repository at this point in the history
  • Loading branch information
benguild committed Oct 26, 2018
1 parent 4d7a022 commit 2c961e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PullToDismissTransition.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "PullToDismissTransition"
s.version = "0.7.1"
s.version = "0.7.2"
s.homepage = "https://github.com/benguild/PullToDismissTransition"
s.summary = "(Beta) Uses `UIPercentDrivenInteractiveTransition` and `UIViewControllerAnimatedTransitioning` to quickly implement nice “pull-to-dismiss” interactions on modal view controller(s). — Also handles `UIScrollView` bounce toggling dynamically when necessary. "
s.license = 'MIT'
Expand Down
1 change: 1 addition & 0 deletions PullToDismissTransition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public class PullToDismissTransition: UIPercentDrivenInteractiveTransition {

deinit {
scrollViewObservation?.invalidate()
transitionDelegateObservation?.invalidate()
}

public init(viewController: UIViewController, transitionType: PullToDismissTransitionType = .slideStatic) {
Expand Down

0 comments on commit 2c961e0

Please sign in to comment.