摘要: @interface UIViewController () @property (weak, nonatomic) IBOutlet UIView *backView; //空间是用storyBoard创建的 @property (nonatomic, strong) CAGradientLaye 阅读全文
posted @ 2018-05-11 17:29 风吹,风筝在飞 阅读(309) 评论(0) 推荐(0) 编辑
摘要: /*在继承UITabBarController控制器中*/ #pragma mark <UITabBarControllerDelegate> -(void)tabBarController:(UITabBarController *)tabBarController didSelectViewCo 阅读全文
posted @ 2018-03-10 14:36 风吹,风筝在飞 阅读(1778) 评论(0) 推荐(0) 编辑
摘要: @interface CaptureViewController () @property (nonatomic, strong) UIImageView *backgrounView; //控制器背景 @property (nonatomic, strong) UIView *captureVie 阅读全文
posted @ 2018-02-26 13:19 风吹,风筝在飞 阅读(341) 评论(0) 推荐(1) 编辑
摘要: 以UIButton为例,创建一个类,继承于UIButton /*页面的创建用storyboard*/ .h文件 @interface PTSRecommendButton : UIButton - (void)viewTransform; @end .m文件 @implementation PTSR 阅读全文
posted @ 2017-10-11 16:06 风吹,风筝在飞 阅读(337) 评论(0) 推荐(0) 编辑