- 博客(9)
- 资源 (10)
- 收藏
- 关注
转载 类簇在iOS开发中的应用
类簇(class cluster)是一种设计模式,在Foundation Framework中被广泛使用,举个简单的例子 NSArray *arr = [NSArray arrayWithObjects:@"foo",@"bar", nil]; NSLog(@"arr class:%@", [arr class]); // output: __NSArrayI 显然__NSArrayI
2015-01-21 21:41:08 362
转载 storyboard全解析
来源:http://iaiai.iteye.com/blog/1493956 Storyboard)是一个能够节省你很多设计手机App界面时间的新特性,下面,为了简明的说明Storyboard的效果,我贴上本教程所完成的Storyboard的截图: 现在,你就可以清楚的看到这个应用究竟是干些什么的,也可以清楚的看到其中的各种关系,这就是Storyboard的强大之处了。如果你要制作一个
2015-01-13 18:29:40 674
原创 字体对应关系
44px -> 20pt 34px -> 18pt 32px -> 16pt 30px -> 15pt 26px -> 13pt 24px -> 12pt 20px -> 11pt
2015-01-10 21:33:06 817
转载 线程
http://blog.cnbluebox.com/blog/2014/07/01/cocoashen-ru-xue-xi-nsoperationqueuehe-nsoperationyuan-li-he-shi-yong/
2015-01-06 12:40:59 394
原创 UIButton: set image for selected-highlighted state
I set an images for button's states Normal,Highlighted and Selected, but when the button in selected state and I press/highlight it I didn't see my highlighted image but just grayed picture.Is it poss
2015-01-05 16:23:15 1059
转载 ios技巧
TableView不显示没内容的Cell怎么办? 类似这种,我不想让下面那些空的显示. 很简单. 1 self.tableView.tableFooterView = [[UIView alloc] init]; 试过的都说好. 加完这句之后就变成了这样. 自定义了leftBarbuttonItem左滑返回手
2015-01-05 09:22:40 396
原创 BarbuttonItem 图片颜色蓝色
I spent an evening trying to figure this out as well. You were very close to the solution.The trick is to instantiate the UIImage with the rendering mode. Instead of doing: UIImage *image = [UIImag
2015-01-04 17:36:19 1400
转载 h头文件找不到问题
官方文档说需要 对“Header Search Paths”增加头文件路径:$(SRCROOT)/项目名 称 照着做了还是出现 openssl rsa.h file not found ,后来百度了很多地方都没有找到能解决的方法。 后来突然回想起# include 比如 我把openssl这个文件导入到了这个工程目录下 :项目名称/公共类/工具&第三方/支付宝SDK/openss
2015-01-04 15:25:30 1688
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人