摘要: NSString * str = @"ABCDEFG HIJKLMN"; UILabel * aLab = [[UILabel alloc]initWithFrame:CGRectMake(10, 100, 300, 300)]; aLab.text = str; NSMutableAttr... 阅读全文
posted @ 2014-12-22 19:48 浪够L就回家 阅读(358) 评论(0) 推荐(0)
摘要: 转发自:http://www.cnblogs.com/china-ldw/p/3423455.htmlhttp://blog.csdn.net/gnicky/article/details/7458598 阅读全文
posted @ 2014-12-16 16:10 浪够L就回家 阅读(315) 评论(0) 推荐(0)
摘要: http://mobile.51cto.com/iphone-386316.htm 阅读全文
posted @ 2014-11-22 00:35 浪够L就回家 阅读(129) 评论(0) 推荐(0)
摘要: http://gaoyong.diandian.com/post/2011-11-02/6443926 及 kvohttp://www.cnblogs.com/wengzilin/p/3223770.html 阅读全文
posted @ 2014-11-22 00:29 浪够L就回家 阅读(125) 评论(0) 推荐(0)
摘要: 在做ios版本设计的时候,尺寸有3种,分别是:320*480、640*960、640*1136;这时我们要以一种尺寸为基准,那这个基准尺寸是640px*960px,设计图完成之后就开始切图了,我拿我之前设计的一张图为例子讲解下:​当看到上边这张设计图的时候,我们首先分析下应该给技术切哪些图(为了避免... 阅读全文
posted @ 2014-11-06 11:44 浪够L就回家 阅读(185) 评论(0) 推荐(0)
摘要: UIView *view = [[UIView alloc]initWithFrame:CGRectMake(50, 200, 100, 100)]; view.backgroundColor = [UIColor redColor]; view.layer.shadowOpacity = 0.... 阅读全文
posted @ 2014-10-25 18:56 浪够L就回家 阅读(126) 评论(0) 推荐(0)
摘要: UILabel * fabLab = [[UILabel alloc]initWithFrame:CGRectMake(50, 140, 200, 30)]; NSMutableAttributedString * aText = [[NSMutableAttributedString al... 阅读全文
posted @ 2014-10-25 18:55 浪够L就回家 阅读(135) 评论(0) 推荐(0)
摘要: for (int i = 0; i < 6; i ++) { int n = 20 + i % 3 * 90 + i % 3 * 20; int m = 10 + i / 3 * 90 + i / 3 * 20; UIButton * bun = [UIButton ... 阅读全文
posted @ 2014-10-25 18:49 浪够L就回家 阅读(1764) 评论(0) 推荐(0)
摘要: [searchBar setBackgroundImage:[UIImage new]]; [searchBar setTranslucent:YES]; 阅读全文
posted @ 2014-10-25 18:46 浪够L就回家 阅读(182) 评论(0) 推荐(0)