first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#import "RNSScreen.h"
@interface RNSScreenStackAnimator : NSObject <UIViewControllerAnimatedTransitioning>
/// This property is filled whenever there is an ongoing animation and cleared on animation end.
@property (nonatomic, strong, nullable, readonly) UIViewPropertyAnimator *inFlightAnimator;
- (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