Skip to content

Commit

Permalink
feat(ios): rewrite animation module
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this commit is a breaking change! Animation related code needs to be checked!
  • Loading branch information
wwwcg committed Aug 9, 2023
1 parent 593a11d commit 18b1e7e
Show file tree
Hide file tree
Showing 80 changed files with 11,850 additions and 1,411 deletions.
4 changes: 2 additions & 2 deletions ios/sdk/base/HippyBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@class HippyEventDispatcher;
@class HippyPerformanceLogger;
@class HippyUIManager;
@class HippyExtAnimationModule;
@class HippyNextAnimationModule;
@class HippyOCTurboModule;

NS_ASSUME_NONNULL_BEGIN
Expand Down Expand Up @@ -206,7 +206,7 @@ HIPPY_EXTERN NSString *HippyBridgeModuleNameForClass(Class bridgeModuleClass);
*/
@property (nonatomic, weak, readonly) id<HippyBridgeDelegate> delegate;

@property (nonatomic, weak, readonly) HippyExtAnimationModule *animationModule;
@property (nonatomic, weak, readonly) HippyNextAnimationModule *animationModule;

@property (nonatomic, strong, readonly) id<HippyImageViewCustomLoader> imageLoader;
@property (nonatomic, strong, readonly) id<HippyCustomTouchHandlerProtocol> customTouchHandler;
Expand Down
4 changes: 2 additions & 2 deletions ios/sdk/base/HippyBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#import "HippyPerformanceLogger.h"
#import "HippyUtils.h"
#import "HippyUIManager.h"
#import "HippyExtAnimationModule.h"
#import "HippyNextAnimationModule.h"
#import "HippyRedBox.h"
#import "HippyTurboModule.h"

Expand Down Expand Up @@ -222,7 +222,7 @@ - (id)moduleForClass:(Class)moduleClass {
return [self moduleForName:HippyBridgeModuleNameForClass(moduleClass)];
}

- (HippyExtAnimationModule *)animationModule {
- (HippyNextAnimationModule *)animationModule {
return [self moduleForName:@"AnimationModule"];
}

Expand Down
32 changes: 0 additions & 32 deletions ios/sdk/component/view/HippyView+HippyViewAnimation.h

This file was deleted.

67 changes: 0 additions & 67 deletions ios/sdk/component/view/HippyView+HippyViewAnimation.m

This file was deleted.

39 changes: 0 additions & 39 deletions ios/sdk/component/view/UIView+HippyAnimationProtocol.h

This file was deleted.

32 changes: 0 additions & 32 deletions ios/sdk/component/view/UIView+HippyAnimationProtocol.m

This file was deleted.

58 changes: 0 additions & 58 deletions ios/sdk/module/animation/CALayer+HippyAnimation.m

This file was deleted.

29 changes: 0 additions & 29 deletions ios/sdk/module/animation/HippyExtAnimation+Group.h

This file was deleted.

34 changes: 0 additions & 34 deletions ios/sdk/module/animation/HippyExtAnimation+Value.h

This file was deleted.

64 changes: 0 additions & 64 deletions ios/sdk/module/animation/HippyExtAnimation+Value.m

This file was deleted.

Loading

0 comments on commit 18b1e7e

Please sign in to comment.