mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-07 02:08:34 +08:00
Add support for springs for NativeAnimated on iOS
Summary: This diff adds support for native spring animations on iOS. This overlaps some spring work done by kmagiera on the Android side of things. **Test plan (required)** Run UIExplorer NativeAnimated examples before and after - compare the results. Pay special attention to the spring examples. Closes https://github.com/facebook/react-native/pull/9048 Differential Revision: D4056088 Pulled By: foghina fbshipit-source-id: a593408cb61cb850572bab4a0884f7157cece656
This commit is contained in:
committed by
Facebook Github Bot
parent
5e94114497
commit
d950db4ef7
14
Libraries/NativeAnimation/Drivers/RCTFrameAnimation.h
Normal file
14
Libraries/NativeAnimation/Drivers/RCTFrameAnimation.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import "RCTAnimationDriver.h"
|
||||
|
||||
@interface RCTFrameAnimation : NSObject<RCTAnimationDriver>
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user