2018年3月23日
摘要: 1.改变searchbar的searchField属性 UITextField *searchField = [searchbar valueForKey:@"searchField"]; if (searchField) { // 背景色 [searchField setBackgroundCol 阅读全文
posted @ 2018-03-23 16:55 强者VS弱者 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1.去除所有的分割线 table.separatorStyle = UITableViewCellSelectionStyleNone; 2.去除指定某一行的分割线 cell.separatorInset = UIEdgeInsetsMake(0, width_w, 0, 0); 阅读全文
posted @ 2018-03-23 10:34 强者VS弱者 阅读(216) 评论(0) 推荐(0) 编辑
  2018年3月16日
摘要: TabBarController: 创建TabBar的控制器 注意:在点击的内容方法页面,添加头文件 #import "TabBarController.h" #import "AppDelegate.h" AppDelegate *delegate = (AppDelegate *)[[UIApp 阅读全文
posted @ 2018-03-16 17:20 强者VS弱者 阅读(172) 评论(0) 推荐(0) 编辑
  2018年2月27日
摘要: Charles安装 HTTP抓包 HTTPS抓包 1. Charles安装 官网下载安装Charles: https://www.charlesproxy.com/download/ 2. HTTP抓包 (1)查看电脑IP地址 (2)设置手机HTTP代理 手机连上电脑,点击“设置->无线局域网->连 阅读全文
posted @ 2018-02-27 14:42 强者VS弱者 阅读(366) 评论(0) 推荐(0) 编辑
  2018年2月26日
摘要: 区别: 在ARC(Auto Reference Count)环境下: instancetype用来在编译期确定实例的类型,而使用id的话,编译器不检查类型,运行时检查类型 在MRC(Manual Reference Count)环境下: instancetype和id一样,不做具体类型检查 区别2: 阅读全文
posted @ 2018-02-26 15:23 强者VS弱者 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 本链接 引用别人文章https://www.jianshu.com/p/d553096914ff 阅读全文
posted @ 2018-02-26 10:11 强者VS弱者 阅读(113) 评论(0) 推荐(0) 编辑
  2018年1月8日
摘要: WebStrom下载地址: http://www.pc6.com/mac/112553.html WebStrom 2017激活破解(http://blog.csdn.net/it_talk/article/details/52448597) • 2017-06-15更新 • 之前都是使用2017. 阅读全文
posted @ 2018-01-08 11:43 强者VS弱者 阅读(159) 评论(0) 推荐(0) 编辑
  2017年8月16日
摘要: 第一种:基于编译的打包 编译工程--找到.app文件--新建Payload文件夹--拷贝.app到Payload文件夹--压缩成zip--更改后缀名为ipa--完成! 第二种(有问题,暂时不需要看) 第一步:打开终端,cd 到脚本所在目录 $ cd /Users/chenxiaonan/Downlo 阅读全文
posted @ 2017-08-16 16:05 强者VS弱者 阅读(306) 评论(0) 推荐(0) 编辑
  2017年5月23日
摘要: 【问题分析】1、使用NSString中的stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]]方法只是去掉左右两边的空格;2、使用NSString *strUrl = [urlString stringByRe 阅读全文
posted @ 2017-05-23 15:52 强者VS弱者 阅读(237) 评论(0) 推荐(0) 编辑
摘要: NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; // 设置你想要的格式,hh与HH的区别:分别表示12小时制,24小时制 // [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"]; 阅读全文
posted @ 2017-05-23 13:55 强者VS弱者 阅读(215) 评论(0) 推荐(0) 编辑