会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杀一个程序猿不需要用枪,改三次需求就可以了。
养成记笔录的良好习惯,可以不断提升自己的能力
(To develop good habits of mind, can upgrade their capabilities!)!
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
11
下一页
2015年4月5日
使用autolayout的NSLayoutConstraint类中的constraintWithItem 、constraintsWithVisualFormat这两个类方法来创建视图并可以实现自动布局
摘要: #import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad{ [super viewDidLoad]; [self crea...
阅读全文
posted @ 2015-04-05 21:49 曹县三胖暴打大猩猩
阅读(1484)
评论(0)
推荐(0)
2015年4月2日
自定义圆形进度条
摘要: #import @interface CircleProgressView : UIView/**进度值*/@property(nonatomic,assign) CGFloat progressValue;@end#import "CircleProgressView.h"@implementa...
阅读全文
posted @ 2015-04-02 10:13 曹县三胖暴打大猩猩
阅读(160)
评论(0)
推荐(0)
2015年4月1日
通过cagradientLayer类封装uiimageview动画色度差
摘要: #import typedef NS_ENUM(NSInteger, EcolorDirectionType){ EcolorDirectionUp, //上 EcolorDirectionDown, //下 EcolorDirectionRight, //右 Eco...
阅读全文
posted @ 2015-04-01 18:45 曹县三胖暴打大猩猩
阅读(293)
评论(0)
推荐(0)
通过CAGradientLayer类实现色度差动画
摘要: #import "ViewController.h"@interface ViewController (){ CAGradientLayer *_gradientLayer;}@end@implementation ViewController- (void)viewDidLoad{ ...
阅读全文
posted @ 2015-04-01 17:45 曹县三胖暴打大猩猩
阅读(171)
评论(0)
推荐(0)
通过布赛尔曲线以及CAShapeLayer的strokeStart 、strokeEnd 属性来实现一个圆形进度条
摘要: #import @interface CircleProgressView : UIView/**起始值(0-1)*/@property(nonatomic,assign)CGFloat fstartValue;/**边框宽度*/@property(nonatomic,assign)CGFloat ...
阅读全文
posted @ 2015-04-01 15:26 曹县三胖暴打大猩猩
阅读(1143)
评论(0)
推荐(0)
通过UIBezierPath贝塞尔曲线画圆形、椭圆、矩形
摘要: /**创建椭圆形的贝塞尔曲线*/ UIBezierPath *_ovalPath=[UIBezierPath bezierPathWithOvalInRect:CGRectMake(0, 0, 200, 100)]; /**创建矩形的贝塞尔曲线*/ UIBezierPath...
阅读全文
posted @ 2015-04-01 14:22 曹县三胖暴打大猩猩
阅读(7185)
评论(0)
推荐(0)
2015年3月31日
简单的画板
摘要: #import "MyView.h"@interface MyView (){ CGMutablePathRef pathRef;}@end@implementation MyView-(id)initWithCoder:(NSCoder *)aDecoder{ if (self=[su...
阅读全文
posted @ 2015-03-31 23:00 曹县三胖暴打大猩猩
阅读(156)
评论(0)
推荐(0)
绘制圆形椭圆
摘要: /**绘制圆形*/ CGContextRef contextRef=UIGraphicsGetCurrentContext(); CGContextAddArc(contextRef, 150, 300, 100, 0, 3.14*2, 0); CGContextStrokePat...
阅读全文
posted @ 2015-03-31 22:29 曹县三胖暴打大猩猩
阅读(152)
评论(0)
推荐(0)
绘制三角形矩形
摘要: /**绘制三角形*/ CGContextRef contextRef=UIGraphicsGetCurrentContext(); CGContextMoveToPoint(contextRef, 100, 100); CGContextAddLineToPoint(contex...
阅读全文
posted @ 2015-03-31 22:06 曹县三胖暴打大猩猩
阅读(182)
评论(0)
推荐(0)
Xcode中修改整个项目工程名称步骤
摘要: 1:首先选中项目WaterDropTest.xcodeproj文件后单击鼠标->输入我们要重新命名的工程名,然后会弹出一个对话框,点击rename按钮2、xcode菜单中选-》product-》scheme->managescheme,3、对工程下面的文件夹重命名4、然后再xcode中在来对该文件夹...
阅读全文
posted @ 2015-03-31 18:13 曹县三胖暴打大猩猩
阅读(369)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
11
下一页
公告