摘要: #import typedef NS_ENUM(NSInteger, EcolorDirectionType){ EcolorDirectionUp, //上 EcolorDirectionDown, //下 EcolorDirectionRight, //右 Eco... 阅读全文
posted @ 2015-04-01 18:45 曹县三胖暴打大猩猩 阅读(287) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"@interface ViewController (){ CAGradientLayer *_gradientLayer;}@end@implementation ViewController- (void)viewDidLoad{ ... 阅读全文
posted @ 2015-04-01 17:45 曹县三胖暴打大猩猩 阅读(163) 评论(0) 推荐(0) 编辑
摘要: #import @interface CircleProgressView : UIView/**起始值(0-1)*/@property(nonatomic,assign)CGFloat fstartValue;/**边框宽度*/@property(nonatomic,assign)CGFloat ... 阅读全文
posted @ 2015-04-01 15:26 曹县三胖暴打大猩猩 阅读(1136) 评论(0) 推荐(0) 编辑
摘要: /**创建椭圆形的贝塞尔曲线*/ UIBezierPath *_ovalPath=[UIBezierPath bezierPathWithOvalInRect:CGRectMake(0, 0, 200, 100)]; /**创建矩形的贝塞尔曲线*/ UIBezierPath... 阅读全文
posted @ 2015-04-01 14:22 曹县三胖暴打大猩猩 阅读(7133) 评论(0) 推荐(0) 编辑