【文件属性】:
文件名称:UIView-VMAnimations:为 UIView 对象添加动画的轻量级类别
文件大小:3.38MB
文件格式:ZIP
更新时间:2021-06-22 09:12:09
Objective-C
UIView+VMAnimations
概述
UIView (VMAnimations) 扩展了 UIView 类以提供一种简单的方法来为 UIView 对象设置动画。
用法
这些方法可能是不言自明的:
@interface UIView (VMAnimations)
#pragma mark - Pulse Animation
- (void)startPulse;
- (void)startPulseWithDuration:(NSTimeInterval)duration fromAlpha:(CGFloat)fromAlpha inset:(UIEdgeInsets)inset;
- (void)stopPulse;
#pragma mark - Convenience Methods
- (UIView *)viewSnapshot;
@end
要运行示例项目, pod in
【文件预览】:
UIView-VMAnimations-master
----.gitignore(100B)
----Example()
--------UIView-VMAnimations()
--------UIView-VMAnimations.xcodeproj()
--------UIView-VMAnimations.xcworkspace()
--------Tests()
--------Podfile.lock(247B)
--------Podfile(240B)
----Resources()
--------screencast.gif(3.45MB)
----LICENSE(1KB)
----UIView+VMAnimations.podspec(838B)
----README.md(1KB)
----Pod()
--------Assets()
--------Classes()