06 2016 档案

摘要:http://www.cocoachina.com/programmer/20160627/16835.html 看完这篇文章 感谢作者 阅读全文
posted @ 2016-06-28 14:43 刘明鑫l 阅读(81) 评论(0) 推荐(0)
摘要:因为公司要求做了一个加密 网上的资料少有可用的 于是我看到了一位大神的曙光 但是未介绍使用方法 然后另一位大神给予了使用方法 但是没有把库给出来 我整理了一下 希望大家看的有些启发 证书生成 生成模长为1024bit的私钥openssl genrsa -out private_key.pem 102 阅读全文
posted @ 2016-06-23 10:44 刘明鑫l 阅读(984) 评论(0) 推荐(0)
摘要:超简单的筛选方法 array为你筛选的数组 NSNumber * max = [Array valueForKeyPath:@"@max.floatValue"]; NSNumber * max = [Array valueForKeyPath:@"@min.floatValue"];ok结束 阅读全文
posted @ 2016-06-13 13:55 刘明鑫l 阅读(1233) 评论(0) 推荐(0)
摘要:这个主要是从网上看到的 感觉非常好打算保存起来 -(NSString *)compareDate:(NSDate *)date{ NSTimeInterval secondsPerDay = 24 * 60 * 60; NSDate *today = [[NSDate alloc] init]; N 阅读全文
posted @ 2016-06-13 13:42 刘明鑫l 阅读(462) 评论(0) 推荐(0)
摘要:直接利用终端命令进入工程文件夹然后写下或复制以下命令 find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs wc -l 文件名字 ok统计出多少条了 阅读全文
posted @ 2016-06-03 15:23 刘明鑫l 阅读(206) 评论(0) 推荐(0)