Skip to content

Commit

Permalink
Merge pull request #1 from alemannosara/fix-compilation-warnings
Browse files Browse the repository at this point in the history
Fix compilation warnings: Mark `non-@objc` functions as `public` instead of `open`
  • Loading branch information
alemannosara authored Jan 17, 2024
2 parents 111808c + ef49177 commit c91fa4a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ extension QQPercentDrivenInteractiveTransition: UIViewControllerInteractiveTrans
self.animator.animateTransition(using: transitionContext)
}

open func update(_ percentComplete: CGFloat) {
public func update(_ percentComplete: CGFloat) {

self.percentComplete = min(1.0, max(0.0, percentComplete))

Expand All @@ -67,12 +67,12 @@ extension QQPercentDrivenInteractiveTransition: UIViewControllerInteractiveTrans
self.transitionContext?.updateInteractiveTransition(self.percentComplete)
}

open func cancel() {
public func cancel() {
self.transitionContext?.cancelInteractiveTransition()
self.completeTransition()
}

open func finish() {
public func finish() {
self.transitionContext?.finishInteractiveTransition()
self.completeTransition()
}
Expand Down

0 comments on commit c91fa4a

Please sign in to comment.