摘要: 1.打开你的Xcode工程. 在Supporting Files目录下,选择 File > New > File > iOS > Other > PCH File 然后点击下一步; 2.给你的PCH文件起名字TestDemo-Prefix.pch. 例如你的项目工程名为TestDemo然而你的PCH 阅读全文
posted @ 2016-07-17 22:08 feiling 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 低版本的cocoapods的Podfile文件pod install可以正常运行 platform :ios, '8.0' pod 'AFNetworking' 高版本的cocoapods的Podfile文件必须添加target platform :ios, '8.0' target "target 阅读全文
posted @ 2016-07-16 10:52 feiling 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two... 阅读全文
posted @ 2015-12-17 22:38 feiling 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 官方源:deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiversedeb http://archive.ubuntu.com/ubuntu/ trusty-security main restric... 阅读全文
posted @ 2015-12-15 14:24 feiling 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 打开terminal,输入如下命令:find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTP... 阅读全文
posted @ 2015-10-27 21:07 feiling 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 时间戳是自 1970 年 1 月 1 日(00:00:00 GMT)至当前时间的总秒数。它也被称为 Unix 时间戳(Unix Timestamp)。下面是iOS中时间戳 与 时间之间的转换方法:1.NSDate转换为时间戳NSDate *localDate = [NSDate date];NSS... 阅读全文
posted @ 2015-10-27 21:03 feiling 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Remove all elements from a linked list of integers that have valueval.样例Given1->2->3->3->4->5->3, val = 3, you should return the list as1->2->4->5/** ... 阅读全文
posted @ 2015-10-21 21:41 feiling 阅读(217) 评论(0) 推荐(0) 编辑
摘要: https://blog.coding.net/blog/ios-testFlight 阅读全文
posted @ 2015-10-16 10:10 feiling 阅读(135) 评论(0) 推荐(0) 编辑
摘要: http://www.paintcodeapp.com/news/iphone-6-screens-demystified 阅读全文
posted @ 2015-10-16 10:08 feiling 阅读(188) 评论(0) 推荐(0) 编辑
摘要: The CSS padding properties define the space between the element border and the element content.PaddingThe padding clears an area around the content (i... 阅读全文
posted @ 2015-10-16 10:05 feiling 阅读(235) 评论(0) 推荐(0) 编辑