随笔 - 399,  文章 - 0,  评论 - 7,  阅读 - 21万
07 2018 档案
swift - 网络请求数据处理 - 协议处理
摘要:1. 在类的模型之中或类的结构体 里面 实现下面方法 2. 协议的实现 3. 控制器调用 class JYAddNewBespeakVC: JYBaseVC { /// 页面所有数据模型 var dataModel = DataModelForAddNewBespeakModel() } 4.因为本 阅读全文
posted @ 2018-07-27 11:41 懂事长qingzZ 阅读(274) 评论(0) 推荐(0) 编辑
iOS - 工程文件冲突 - 解决方式
摘要: 阅读全文
posted @ 2018-07-26 19:26 懂事长qingzZ 阅读(249) 评论(0) 推荐(0) 编辑
ios - 设置一个VC的navigationController的显示图案或文字,其他navigationController依旧不变
摘要:1. override func viewDidLoad() { super.viewDidLoad() self.navigationController?.delegate = self }2. 实现代理方法 阅读全文
posted @ 2018-07-26 11:08 懂事长qingzZ 阅读(194) 评论(0) 推荐(0) 编辑
swift - 代码创建 UIPickerView 显示或隐藏横线
摘要: 阅读全文
posted @ 2018-07-20 13:04 懂事长qingzZ 阅读(368) 评论(0) 推荐(0) 编辑
swift - 封装 GCDTimer 和 NSTimer
摘要:封装的类代码 使用方法: 阅读全文
posted @ 2018-07-20 09:12 懂事长qingzZ 阅读(419) 评论(0) 推荐(0) 编辑
【iOS开发】如何将旧的Objective-C项目逐渐转为Swift项目
摘要:https://www.jianshu.com/p/8adfa42ce784 阅读全文
posted @ 2018-07-16 11:12 懂事长qingzZ 阅读(175) 评论(0) 推荐(0) 编辑
ios 工具大全,最全框架
摘要:https://www.jianshu.com/p/e280f3348156 【链接】文件分享 - 网盘分享https://share.weiyun.com/5A1aura 阅读全文
posted @ 2018-07-16 10:59 懂事长qingzZ 阅读(116) 评论(0) 推荐(0) 编辑
iOS - OC - 打印信息 - xcode 中文打印
摘要: 阅读全文
posted @ 2018-07-12 17:40 懂事长qingzZ 阅读(243) 评论(0) 推荐(0) 编辑
获取APP的启动图 -Launch Image
摘要:http://adad184.com/2015/10/15/tips-access-current-launch-image/ 阅读全文
posted @ 2018-07-12 17:21 懂事长qingzZ 阅读(243) 评论(0) 推荐(0) 编辑
iOS - 组件化探究之私有库的创建
摘要:http://www.cocoachina.com/ios/20180511/23359.html 阅读全文
posted @ 2018-07-12 17:20 懂事长qingzZ 阅读(134) 评论(0) 推荐(0) 编辑
iOS - OC - 字典快速遍历
摘要:1. [dic enumerateKeysAndObjectsUsingBlock:^(id _Nonnull key, id _Nonnull obj, BOOL * _Nonnull stop) { }]; 阅读全文
posted @ 2018-07-12 16:58 懂事长qingzZ 阅读(681) 评论(0) 推荐(0) 编辑
iOS - xcode - label 字体自动根据宽高 显示完全
摘要:1. label 左右约束要给。 2.代码实现label.adjustsFontSizeToFitWidth = YES 阅读全文
posted @ 2018-07-12 14:09 懂事长qingzZ 阅读(240) 评论(0) 推荐(0) 编辑
iOS - OC - XML 解析 - NSXMLParser
摘要://4.解析数据 //4.1 创建XML解析器:SAX NSXMLParser *parser = [[NSXMLParser alloc]initWithData:data]; //4.2 设置代理 parser.delegate = self; //4.3 开始... 阅读全文
posted @ 2018-07-12 10:46 懂事长qingzZ 阅读(223) 评论(0) 推荐(0) 编辑
iOS - OC - JSON 解析 - NSJSONSerialization
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 10... 阅读全文
posted @ 2018-07-11 11:58 懂事长qingzZ 阅读(422) 评论(0) 推荐(0) 编辑
iOS - OC - 网络请求 - 中文转码
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 #pragma mark ---------------------- 10 #pragma mark Events 11 -(void)touches... 阅读全文
posted @ 2018-07-11 10:32 懂事长qingzZ 阅读(552) 评论(0) 推荐(0) 编辑
runloop - 面试题
摘要:2. 阅读全文
posted @ 2018-07-10 19:53 懂事长qingzZ 阅读(89) 评论(0) 推荐(0) 编辑
OC -网络请求 - NSURLConnection - POST
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 9 { 10 [sel... 阅读全文
posted @ 2018-07-10 19:49 懂事长qingzZ 阅读(479) 评论(0) 推荐(0) 编辑
OC -网络请求 - NSURLConnection - GET
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 /** 注释 */ 5 @property (nonatomic, strong) NSMutableData *resultData; 6 @end 7 8 @implementation ViewController 9 ... 阅读全文
posted @ 2018-07-10 19:43 懂事长qingzZ 阅读(293) 评论(0) 推荐(0) 编辑
使用 TestFlight 进行项目内测
摘要:https://www.jianshu.com/p/d8f82a75a4d7 阅读全文
posted @ 2018-07-10 17:22 懂事长qingzZ 阅读(620) 评论(0) 推荐(0) 编辑
iOS - 上架的APP 生成二维码下载
摘要:1.首先打开苹果App Store商店进入到里面,找到需要打开链接地址的应用程序,例如:百度。2. 在App Store商店里面先点击一下应用程序图标,再按一下…分享按钮。 3. 接着选择分享APP,再点击拷贝链接地址,将应用程序的链接地址先复制拷贝起来。 4. 百度:二维码生成器 然后把链接拷贝进 阅读全文
posted @ 2018-07-10 11:09 懂事长qingzZ 阅读(1933) 评论(0) 推荐(0) 编辑
runloop - CFRunLoopObserverRef
摘要:1. 阅读全文
posted @ 2018-07-09 11:43 懂事长qingzZ 阅读(135) 评论(0) 推荐(0) 编辑
runloop 和 CFRunLoop - 定时器 - NSTimer 和 GCD定时器
摘要:1. 2、 阅读全文
posted @ 2018-07-09 11:32 懂事长qingzZ 阅读(186) 评论(0) 推荐(0) 编辑
Swift 基本语法03-"if let"和"guard let"
摘要:1. 2.详情https://www.jianshu.com/p/e1fe08c5db1a 阅读全文
posted @ 2018-07-06 13:33 懂事长qingzZ 阅读(142) 评论(0) 推荐(0) 编辑
runloop - 介绍
摘要:1. 简介没有的话 有的话 阅读全文
posted @ 2018-07-05 19:26 懂事长qingzZ 阅读(99) 评论(0) 推荐(0) 编辑
OC - 缓存 - NSCache - 介绍
摘要: 阅读全文
posted @ 2018-07-05 17:54 懂事长qingzZ 阅读(175) 评论(0) 推荐(0) 编辑
iOS 开发 需要的版本管理工具,UI图,bug管理工具等
摘要:1.版本管理工具 或直接 终端敲命令SVN(smartSvn 或者cornerstone/终端) 或git (sourceTree/终端) 2. 原型管理工具 使用墨刀(https://modao.cc/)或者Axure RP,蓝湖, 千万不要下面这样,一个个切大图画上连线, 后期改的逻辑你妈都不认 阅读全文
posted @ 2018-07-05 14:13 懂事长qingzZ 阅读(269) 评论(0) 推荐(0) 编辑
Mac 终端使用 - 加密 1. MD5 2.Base64
摘要:1.MD5 打开终端 输入 :echo -n "加密内容" |md5 md5加密网站https://md5jiami.51240.com/ md5解密网站http://www.cmd5.com/ 2.Base64终端 加密和解密 base64 文件名称 -o 文件名称 //加密 base64 文件名 阅读全文
posted @ 2018-07-05 11:41 懂事长qingzZ 阅读(978) 评论(0) 推荐(0) 编辑
OC 三方框架 - SDWebImage
摘要:内部实现原理: 1. 下载图片 缓存, 并且需要下载进度2. 下载图片 :3.不需要缓存处理的下载 4. 使用GIF 图片使用:图片名字不要加上 .gif 因为内部已经做过处理了 GIF 内部实现原理: 5.清空数据cleanDisk 和clearDisk,取消任务操作 阅读全文
posted @ 2018-07-05 11:16 懂事长qingzZ 阅读(152) 评论(0) 推荐(0) 编辑
Xcode 清理存储空间
摘要:xcode 已经下载的模拟器路径:不包含当前最新的xcode支持的模拟器/Library/Developer/CoreSimulator/Profiles/Runtimes移除 Xcode 运行安装 APP 产生的缓存文件(DerivedData) 只要重新运行Xcode就一定会重新生成,而且会随着 阅读全文
posted @ 2018-07-05 10:13 懂事长qingzZ 阅读(1074) 评论(0) 推荐(0) 编辑
OC 线程操作3 - NSOperation 实现线程间通信
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 /** 6 图片 7 */ 8 @property (weak, nonatomic) IBOutlet UIImageView *imageView; 9 10 @end 11 12 @implementati... 阅读全文
posted @ 2018-07-04 12:03 懂事长qingzZ 阅读(242) 评论(0) 推荐(0) 编辑
OC 线程操作3 - NSOperation
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ 10 11... 阅读全文
posted @ 2018-07-04 11:14 懂事长qingzZ 阅读(144) 评论(0) 推荐(0) 编辑
OC 单例实现
摘要:2. 在.h 文件遵循 <NSCopying,NSMutabalecopying> 3.定义宏,实现任意类型单单例 4.使用 括号里的名字 自己定义,但是h和m文件要一样 在 .h文件 在.m文件 阅读全文
posted @ 2018-07-03 15:35 懂事长qingzZ 阅读(143) 评论(0) 推荐(0) 编辑
iOS 代码调试
摘要:僵尸对象导致crash(Thread 1:EXC_BAD_ACCESS(code=EXC_I386_GPFLT)),需要给位release模式,debug模式不打印内存地址 https://blog.csdn.net/potato512/article/details/56281488 代码调试 各 阅读全文
posted @ 2018-07-03 11:44 懂事长qingzZ 阅读(106) 评论(0) 推荐(0) 编辑
iOS - push 或 pop或点击导航栏返回pop指定导航控制器
摘要:以前一直有个很疑惑的问题没有搞清楚 关于ios中 viewcontroller的跳转问题,其中有一种方式是采用navigationController pushViewController 的方法,比如我从主页面跳转到了一级页面,又从一级页面跳转到了二级页面,然后从二级页面跳转到了三级页面,依次类推 阅读全文
posted @ 2018-07-02 11:55 懂事长qingzZ 阅读(763) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示