摘要: ## How do I use it?Build the KSImageNamed target in the Xcode project and the plug-in will automatically be installed in `~/Library/Developer/Xcode/Pl... 阅读全文
posted @ 2016-01-23 10:16 LDSmallCat 阅读(265) 评论(0) 推荐(0) 编辑
摘要: VVDocumenter-Xcode的Info.plist文件中添加Xcode的UUID。步骤如下:一、查看Xcode的UUID方式1在终端执行 defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUI... 阅读全文
posted @ 2016-01-23 09:49 LDSmallCat 阅读(640) 评论(0) 推荐(0) 编辑
摘要: 参考资料oschina源码http://git.oschina.net/oschina/iphone-appTintColor解析http://blog.kingiol.com/blog/2014/01/09/ios7-day-by-day-day6-tint-color/oschina源码分析 ... 阅读全文
posted @ 2016-01-19 19:12 LDSmallCat 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 下面的创建cell的样式(subTitle),要求必须注册否则程序会崩溃.\ 这三种写法都是可以正常运行的,且cell都是循环利用的,主要思路就是:如果缓存池中有cell,就从缓存池取出cell来重用 可以避免对象销毁和创建所需要的时间和空间成本,优化程序性能.1>dequeueReusable... 阅读全文
posted @ 2015-12-29 01:15 LDSmallCat 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 路径:Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport解决办法:1>看看哪个朋友的Xcode是7.2的,让他给你发一下这个文件就可以了2>升级Xcode将这个文件夹拖到xcode对应位置,运行程序就可以跑在手... 阅读全文
posted @ 2015-12-28 19:17 LDSmallCat 阅读(181) 评论(0) 推荐(0) 编辑
摘要: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ //取出模型 CarGroup * group = self.dataArray[indexPath.... 阅读全文
posted @ 2015-12-28 15:21 LDSmallCat 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 苹果app支持arm64以后会有一个问题:NSInteger变成64位了,和原来的int(%d)不匹配,会报如下warning,Values of type 'NSInteger' should not be used as format arguments; add an explicit cas... 阅读全文
posted @ 2015-12-28 00:53 LDSmallCat 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 小结初始化一个Git仓库,使用git init命令。添加文件到Git仓库,分两步:第一步,使用命令git add ,注意,可反复多次使用,添加多个文件;第二步,使用命令git commit,完成。要随时掌握工作区的状态,使用git status命令。如果git status告诉你有文件被修改过,用g... 阅读全文
posted @ 2015-11-23 21:28 LDSmallCat 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 原文章地址:http://code4app.com/article/cocoapods-install-usage目录CocoaPods是什么?如何下载和安装CocoaPods?如何使用CocoaPods?场景1:利用CocoaPods,在项目中导入AFNetworking类库场景2:如何正确编译运... 阅读全文
posted @ 2015-11-23 17:43 LDSmallCat 阅读(120) 评论(0) 推荐(0) 编辑
摘要: UIScrollView的常见属性UIScrollView的常用代理方法UIScrollView的缩放UIScrollView和UIPageControl的分页NSTimer的使用什么是UIScrollView移动设备的屏幕大小是极其有限的,因此直接展示在用户眼前的内容也相当有限当展示的内容较多,超... 阅读全文
posted @ 2015-11-23 16:34 LDSmallCat 阅读(125) 评论(0) 推荐(0) 编辑