Skip to content

Commit

Permalink
Remove declaration of legacy animator
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Dec 16, 2024
1 parent 9d206a5 commit 185ea0e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ios/RNSScreenStackAnimator.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,3 @@
+ (BOOL)isCustomAnimation:(RNSScreenStackAnimation)animation;

@end

@interface RNSScreenStackAnimatorLegacy : NSObject <UIViewControllerAnimatedTransitioning>

- (nonnull instancetype)initWithOperation:(UINavigationControllerOperation)operation;

/// In case of interactive / interruptible transition (e.g. swipe back gesture) this method should return
/// timing parameters expected by animator to be used for animation completion (e.g. when user's
/// gesture had ended).
///
/// @return timing curve provider expected to be used for animation completion or nil,
/// when there is no interactive transition running.
- (nullable id<UITimingCurveProvider>)timingParamsForAnimationCompletion;

+ (BOOL)isCustomAnimation:(RNSScreenStackAnimation)animation;

@end

0 comments on commit 185ea0e

Please sign in to comment.