西贝了爷  
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页

2016年4月27日

摘要: arc4random 1、获取一个随机整数范围在:[0,100)包括0,不包括100 int x = arc4random() % 100; 2、 获取一个随机数范围在:[500,1000],包括500,包括1000 int y = (arc4random() % 501) + 500; 3、获取一 阅读全文
posted @ 2016-04-27 10:24 西贝了爷 阅读(230) 评论(0) 推荐(0) 编辑
 
摘要: 1.打开Finder,点击左上角finder偏好设置 2.选择边栏 3.如果侧栏中没有的文件夹,直接长按文件夹直接拖入. 阅读全文
posted @ 2016-04-27 09:18 西贝了爷 阅读(33634) 评论(0) 推荐(2) 编辑

2016年4月26日

摘要: 一个非常强大的博客 http://www.cnblogs.com/kenshincui/ 像我这种新手确实应该多看看 常规动画属性设置(可以同时选择多个进行设置) UIViewAnimationOptionLayoutSubviews:动画过程中保证子视图跟随运动。 UIViewAnimationO 阅读全文
posted @ 2016-04-26 15:53 西贝了爷 阅读(173) 评论(0) 推荐(0) 编辑
 
摘要: 完成框架, .pch文件 1.创建.pch文件 2.配置.pch文件 双击,改成:项目名/pch文件名 阅读全文
posted @ 2016-04-26 14:50 西贝了爷 阅读(118) 评论(0) 推荐(0) 编辑

2016年4月25日

摘要: 1.数组:@property (nonatomic,strong) NSMutableArray *dataList; 2.基本数据类型:@property (nonatomic, assign) NSInteger age; 3.BOOL:@property (nonatomic,assign,g 阅读全文
posted @ 2016-04-25 09:18 西贝了爷 阅读(243) 评论(0) 推荐(0) 编辑

2016年4月21日

摘要: 1.真机调试http://blog.csdn.net/tht2009/article/details/48580569 2.创建app前的环境配置 阅读全文
posted @ 2016-04-21 16:39 西贝了爷 阅读(152) 评论(0) 推荐(0) 编辑

2016年4月20日

摘要: 1.动画旋转默认的支点是center,如果需要沿左上角旋转怎么做 阅读全文
posted @ 2016-04-20 15:40 西贝了爷 阅读(177) 评论(0) 推荐(0) 编辑
 
摘要: 一:加载xib 1.分别创建xib,.h .m文件继承自UIView。 在xib上绑定类名。 或者创建文件的时候直接勾选xib 2.在控制器中调用类方法 jyq52787网盘/ios/潭州学院/iOS-音乐播放器--视频 二:加载storyboard 1.创建一个Controller,例如: Add 阅读全文
posted @ 2016-04-20 15:17 西贝了爷 阅读(722) 评论(0) 推荐(0) 编辑

2016年4月19日

摘要: 基础绘图: C语言coregraphics框架 绘制一条线:(不常用) UIBezierPath 路径画图 1.线段 线段2: 2.三角形 填充颜色 如果边框颜色和填充颜色都为红色:[[UIColor redColor]set]; 3.矩形: 圆角矩形 4.椭圆、圆 5.圆弧: 6.扇形: 实例:下 阅读全文
posted @ 2016-04-19 14:41 西贝了爷 阅读(156) 评论(0) 推荐(0) 编辑

2016年4月18日

摘要: 步骤: 坑: iOS开发中三种简单的动画设置:http://www.cnblogs.com/wendingding/p/3801330.html iOS开发中的动画效果http://it.100xuexi.com/view/otdetail/20131012/8ce0fea2-e4f3-4111-9 阅读全文
posted @ 2016-04-18 15:47 西贝了爷 阅读(209) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页