上一页 1 2 3 4 5 6 7 ··· 9 下一页

设置单个viewController的状态栏style

摘要: 1、在info.plist中设置 View controller-based status bar appearance字段为YES。(默认是YES) 2、在导航控制器里实现(必须要有,不然第二步是不会执行的。) 3、在对应的viewController里面实现 阅读全文
posted @ 2016-03-19 14:50 森code 阅读(267) 评论(0) 推荐(0) 编辑

一些比较牛逼的网站整理

摘要: 1、iOS开发常用的第三方库整理: http://www.bubuko.com/infodetail-788012.html https://github.com/Joneze/TimLiu-iOS#下拉刷新 2、mac下软件下载整理 http://www.coodoor.com/Mac/macso 阅读全文
posted @ 2016-03-16 22:22 森code 阅读(49393) 评论(0) 推荐(0) 编辑

网络请求时对于服务器返回NSNull对象的处理

摘要: http://my.oschina.net/iq19900204/blog/408034?fromerr=Fnq6yQKn 1、使用宏定义 2、用AFN请求网络时可以使用 self.removesKeysWithNullValues = YES; 使用这个可以自动去除null值。 3、使用分类 Nu 阅读全文
posted @ 2016-03-14 10:10 森code 阅读(546) 评论(0) 推荐(0) 编辑

利用AFN上传多张图片

摘要: http://www.aichengxu.com/view/55607 阅读全文
posted @ 2016-03-04 15:25 森code 阅读(196) 评论(0) 推荐(0) 编辑

iOS 开发切割圆角图片

摘要: static void addRoundedRectToPath(CGContextRef context, CGRect rect, float ovalWidth, float ovalHeight){ float fw, fh; if (ovalWidth == 0 || ovalHeight 阅读全文
posted @ 2016-02-26 17:02 森code 阅读(457) 评论(0) 推荐(0) 编辑

Xcode的Built Setting里的一些设置和配置说明。

摘要: c/c++ 头文件引用问题include <> 引用编译器的类库路径下的头文件include “” 引用工程目录的相对路径的头文件include 是编译指令,在编译时,编译器会将相对路径替换成绝对路径,因此,头文件绝对路径=搜索路径+相对路径。Xcode Build Settings 下 Searc 阅读全文
posted @ 2016-02-25 10:21 森code 阅读(691) 评论(0) 推荐(0) 编辑

视频链接

摘要: http://pan.baidu.com/share/home?uk=1275251533&view=share#category/type=0 阅读全文
posted @ 2016-02-03 15:26 森code 阅读(166) 评论(0) 推荐(0) 编辑

用视频做启动页

摘要: - (void) showStartMedia{ NSString *path = [[NSBundle mainBundle] pathForResource:@"loadingVedio3" ofType:@"m4v"]; NSURL *url = [NSURL fileURLWit... 阅读全文
posted @ 2016-01-21 16:56 森code 阅读(413) 评论(0) 推荐(0) 编辑

根据UIColor对象,返回一张图片UIimage对象

摘要: -(UIImage*)createImageWithColor: (UIColor*) color{ CGRect rect=CGRectMake(0,0, 1, 1); UIGraphicsBeginImageContext(rect.size); CGContextRef co... 阅读全文
posted @ 2016-01-21 16:53 森code 阅读(200) 评论(0) 推荐(0) 编辑

UIFont的使用和字体类型总结

摘要: 我们在开发中很多时候要设置UIlabel,UIbutton,UItextfield的字体,这个时候我们就需要用到UIFont,下面简单介绍一下UIFont的用法,仅供参考。UIFont用于获取和设置字体信息。这个类提供用于输出的字体的属性和字型信息。我们可以把其对象像参数一样传入函数中。一般而言我们... 阅读全文
posted @ 2015-12-31 09:51 森code 阅读(824) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页