JKViewAnimation
示例
#import <JKViewAnimation/UIView+CustomAlertView.h>
///创建自定义视图 CustomAlertView *alert = [[CustomAlertView alloc] initWithFrame:CGRectMake(0, 0, 200, 200)];
///调用分类方法 animationMode CustomAnimationMode 三种模式 [alert jk_showInWindowWithMode:JKCustomAnimationModeAlert inView:nil bgAlpha:0.2 needEffectView:YES];
要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 <code>pod install</code>。
依赖
安装
JKViewAnimation 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中:
pod 'JKViewAnimation','~>1.0.2'
作者
许可证
JKViewAnimation 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。