Слияние кода завершено, страница обновится автоматически
autoreverses:(BOOL)autoreverses
easing:(AREasingCurve)easing
animations:(void (^)(void))animations
completion:(void (^)(void))completion;
+ (void)AR_springAnimationWithDuration:(NSTimeInterval)duration
animations:(void (^)(void))animations;
+ (void)AR_springAnimationWithDuration:(NSTimeInterval)duration
animations:(void (^)(void))animations
completion:(void (^)(void))completion;
+ (void)AR_springAnimationWithDuration:(NSTimeInterval)duration
delay:(CFTimeInterval)delay
animations:(void (^)(void))animations
completion:(void (^)(void))completion;
+ (void)AR_springAnimationWithDuration:(NSTimeInterval)duration
delay:(CFTimeInterval)delay
mass:(CGFloat)mass
damping:(CGFloat)damping
stiffness:(CGFloat)stiffness
initialVelocity:(CGFloat)initialVelocity
animations:(void (^)(void))animations
completion:(void (^)(void))completion;
+ (void)AR_springAnimationWithDuration:(NSTimeInterval)duration
delay:(CFTimeInterval)delay
repeatCount:(NSUInteger)repeatCount
autoreverses:(BOOL)autoreverses
mass:(CGFloat)mass
damping:(CGFloat)damping
stiffness:(CGFloat)stiffness
initialVelocity:(CGFloat)initialVelocity
animations:(void (^)(void))animations
completion:(void (^)(void))completion;
## Support Layer animatable propertys
* **kARLayerPosition**
* **kARLayerPositionX**
* **kARLayerPositionY**
* **kARLayerCornerRadius**
* **kARLayerZPositoin**
* **kARLayerBorderWidth**
* **kARLayerScaleX**
* **kARLayerScaleY**
* **kARLayerScale**
* **kARLayerBounds**
* **kARLayerBackgroundColor**
* **kARLayerOpacity**
* **kARLayerRotationX**
* **kARLayerRotationY**
* **kARLayerRotation**
* **kARLayerAnchorPoint**
* **kARShapeLayerStrokeEnd**
* **kARShapeLayerStrokeStart**
## Reference
* www.gizma.com/easing/#quad2
* https://es.wikipedia.org/wiki/Oscilador_armónico
* http://objccn.io/issue-12-4/
* https://github.com/robb/RBBAnimation
## Next
* **More animatable layer's propertys**
* **Custom animaton ??**
* **Chainable animations ??**
## Supplement
* **Please email me if you have any idea ‘liupingwei30@gmail.com’**
## Licence
The MIT License (MIT)
Copyright (c) 2015 August
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарии ( 0 )