1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/AugustLua-ARAnimation

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
Loading...
README.md
autoreverses:(BOOL)autoreverses
easing:(AREasingCurve)easing
animations:(void (^)(void))animations
completion:(void (^)(void))completion;

Spring

+ (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 )

Вы можете оставить комментарий после Вход в систему

Введение

ARAnimation — это библиотека Core Animation, которая упрощает создание анимации. Расширить Свернуть
MIT
Отмена

Обновления

Пока нет обновлений

Участники

все

Недавние действия

Загрузить больше
Больше нет результатов для загрузки
1
https://gitlife.ru/oschina-mirror/AugustLua-ARAnimation.git
git@gitlife.ru:oschina-mirror/AugustLua-ARAnimation.git
oschina-mirror
AugustLua-ARAnimation
AugustLua-ARAnimation
master