摘要:
百度太难用了,百度一天 google一下 1、居民身份证:"(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)" 2、港澳居民来往内地通行证(回乡证):"^[mMhH]\\d{10}|[mMhH]\\d{8}$" 3、台湾居民来往大陆通行证(台胞证):"(^\\ 阅读全文
摘要:
首先设置 tableView 可编辑 self.tableView.editing = YES; 设置 tableView 的编辑样式: return UITableViewCellEditingStyleDelete | UITableViewCellEditingStyleInsert; 这样子 阅读全文
摘要:
我们项目做完了内存泄露是最让人头疼的问题,几十万行的代码中我们不知道那句泄露的 MLeaksFinder时一款简单方便不入侵项目逻辑不用写任何代码的一款对ViewController,View 的内存泄露检测的一款轻量级工具 GitHub:https://github.com/Zepo/MLeaks 阅读全文
摘要:
原文:http://blog.csdn.net/iostiannan/article/details/51011156 今天在做内存泄露检测更改时,发现同事的一个storyboard的页面有内存泄露 查了资料发现没有直接改为存代码方便快捷 于是我就直接改了同事的 storyboard 当然改了之后就 阅读全文
摘要:
pod 更新pod setup报错CocoaPods was not able to update the `master` repo. If this is an unexpected issue and persists you can inspect it running `pod repo 阅读全文