自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(217)
  • 资源 (3)
  • 收藏
  • 关注

原创 isa方法列表测试(含Demo)

isa方法列表测试

2016-08-23 18:40:11 1071

原创 UIView的init与initWithFrame的调用顺序

UIView的init与initWithFrame的调用顺序

2016-08-18 17:40:29 3183 1

原创 UIScrollView高级用法:delaysContentTouches与canCencelContentTouches属性

UIScrollView高级属性,delaysContentTouches,canCencelContentTouches,

2016-08-17 16:20:49 5406 1

原创 RxSwift实战经验

RxSwift常见易混关键词

2022-11-19 16:25:45 562 1

转载 Connection refused

Mac 打开、编辑 .bash_profile 文件 - 风小可 - 博客园参考:http://mirrors.ustc.edu.cn/help/homebrew-bottles.html 或者: 1、创建 .bash_profile 2、查看 、编辑 .bash_profihttps://www.cnblogs.com/xkfeng/p/9335162.html整理:curl: (7) Failed to connect to raw.githubusercontent.com port 443.

2022-03-27 13:15:18 235

转载 Mac OS下更换ruby源

While executing gem

2022-03-27 13:09:16 816

原创 彻底搞懂Token、Session和Cookie

彻底搞懂Token、Session和Cookiehttps://www.cnblogs.com/slivens/p/12902051.htmliOS:https://blog.csdn.net/zhoushuangjian511/article/details/54290419https://blog.csdn.net/SwiftIOS_watsUp/article/details/100512362

2021-07-25 14:36:49 106

原创 Trailing closure in this context is confusable with the body of the statement; pass as a parenthesiz

API接口不一致;Archive之后,报警,即可知道到底是什么;自动补全;if let index = self.noteLists.firstIndex { (noteInfo) -> Bool in noteInfo.noteId == speechInfo.noteId}{}).disposed(by: disposeBag)let tindex = self.noteLists.firstIndex(where: { (noteInfo) -> Bool in no.

2020-08-03 23:47:05 194

转载 !!微信读书—crash自动修复

微信读书—crash自动修复https://wereadteam.github.io/2016/05/03/WeRead-Performance/https://wereadteam.github.io/archives/https://wereadteam.github.io/2016/05/23/GYBootingProtection/

2020-07-15 09:42:11 374

转载 Git删除中间某次commit

https://blog.csdn.net/yuelengdihai/article/details/81209747代码更新发现编译出错,后来发现其他人的一次代码提交导致的,并且修改量很大,不好恢复成原来的,就想把这笔提交删除掉,不影响工作。具体步骤:1,首先git log查看提交记录,找到出错的前一笔提交的commit_id2,用命令git rebase -i commit_i...

2019-07-04 14:00:36 3070

转载 iOS 图文并茂的带你了解深拷贝与浅拷贝

http://www.cnblogs.com/beckwang0912/p/7212075.html一、概念与总结 1、浅拷贝 浅拷贝就是对内存地址的复制,让目标对象指针和源对象指向同一片内存空间,当内存销毁的时候,指向这片内存的几个指针需要重新定义才可以使用,要不然会成为野指针。 浅拷贝就是拷贝指向原来对象的指针,使原对象的引用计数+1,可以理解为创...

2019-05-14 08:37:00 127

转载 使用线程安全的 MSWeakTimer ,它不会对目标进行retain操作,避免循环引用

https://yq.aliyun.com/articles/31351?spm=a2c4e.11153940.blogcont17709.11.e34360c8sdOHi7 ios                        

2019-02-23 22:30:08 617

转载 GCD实现多个定时器,完美避过NSTimer的三大缺陷(RunLoop、Thread、Leaks)

https://www.cnblogs.com/beckwang0912/p/7027484.html 定时器在我们每个人做的iOS项目里面必不可少,如登录页面倒计时、支付期限倒计时等等,一般来说使用NSTimer创建定时器: But 使用NSTimer需要注意一下几点:      1、必须保证有一个活跃的RunLoop。     系统框架提供了几种创建NSTimer的...

2019-02-23 22:17:22 598

转载 7年iOS开发,自述通往架构师的修炼之路【精华篇】

7年iOS开发,自述通往架构师的修炼之路【精华篇】https://www.cnblogs.com/qwerqwer/p/10099564.html 

2019-01-21 09:26:32 361

原创 VS Debug、Release版本错误解决方案及调试

关于release版本调试信息不正确(指跟踪到的变量的值不正确)的问题: 先写好了debug版本,并进行了测试,发现功能都正常。 然后想build一个release版本,将出现的编译和链接错误都搞定后,运行测试功能,发现功能不正确。这种问题很头痛,只好去debug,一步一步跟踪发现变量的值都不正确,即使初始化了也一样,例如有这样的定义int a=1; 但发现a的值根本不是1.最后把编译环境中的...

2018-09-21 17:03:53 4124

原创 UpdateData()用法

一、函数定义:      // Dialog Data support      public:              BOOL UpdateData(BOOL bSaveAndValidate = TRUE);                // data wnd must be same type as this      位于afxwin.h文件中二、函数用途:Up...

2018-09-12 14:06:20 4582

原创 How to call Objective-C code from Swift

https://stackoverflow.com/questions/24002369/how-to-call-objective-c-code-from-swift

2018-09-09 11:18:14 155

原创 osstatus

https://www.osstatus.com/search/results?platform=all&framework=all&search=-66671异常查询

2018-07-13 18:59:44 1255

原创 Proxy Settings…异常

https://www.jianshu.com/p/6ad09374053bhttps://stackoverflow.com/questions/33011466/ios-using-charles-with-alamofire-and-sslhttps://stackoverflow.com/questions/15768143/ios-app-ssl-handshake-failedOn i...

2018-05-31 22:53:21 4161

转载 iOS拦截系统KVO监听,防止多次删除和添加!!!Demo

https://blog.csdn.net/jq2530469200/article/details/52484646最近项目中处理kvo 的时候,遇到一个问题:当我操作的时候,会发现kvo 释放的时候,会崩溃, 崩溃日志如下:/*Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove...

2018-04-04 10:36:06 1506

原创 翻页效果 笔记

http://www.code4app.com/thread-12484-1-1.htmlhttps://yq.aliyun.com/ziliao/98943https://download.csdn.net/download/sinat_30162391/9479149https://www.jianshu.com/p/9cbf52eb39ddhttp://www.cocoachina.com/...

2018-03-20 11:44:21 391

转载 iOS 主线程更新UI

http://blog.csdn.net/zwl492454828/article/details/51689706方法1:performSelectorOnMainThread[self performSelectorOnMainThread:@selector(updateUI:) withObject:image waitUntilDone:NO];方法2:dispatch_async(di...

2018-02-10 16:11:20 540

转载 iOS子线程更新UI到主线程的三种方法

http://blog.csdn.net/cordova/article/details/54933729简单说将代码同步到主线程执行的三种方法如下:// 1.NSThread[self performSelectorOnMainThread:@selector(updateUI) withObject:nil waitUntilDone:NO];- (void)updateUI { ...

2018-02-10 16:09:28 2936

原创 Mac下xcrun: error: invalid active developer path问题解决方法

第一部分:转正内容http://blog.csdn.net/blueheart20/article/details/78767806问题并没有解决xcode-select --install  没有成功提示:xcode-select: note: install requested for command line developer tools第二部分:第一步:http://brew.sh/,先...

2018-02-08 14:54:55 600

转载 NSProxy

NSProxy

2018-01-01 16:36:34 178

转载 KMP算法详解[自己觉得有价值的]

KMP算法详解

2017-12-17 19:37:58 191

转载 git问题记录--如何从从detached HEAD状态解救出来

git问题记录--如何从从detached HEAD状态解救出来

2017-12-06 14:41:22 9134

转载 iOS开发,初探离屏渲染

http://blog.csdn.net/xunzhaoyulong/article/details/50358170一、概念理解OpenGL中,GPU屏幕渲染有以下两种方式:On-Screen Rendering意为当前屏幕渲染,指的是GPU的渲染操作是在当前用于显示的屏幕缓冲区中进行。Off-Screen Rendering意

2017-11-14 22:39:48 239

转载 Android support 26.0.0-alpha1 产生的问题

Android support 26.0.0-alpha1 产生的问题;java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHe

2017-11-07 16:45:09 503

转载 Objective-C Blocks Under the Hood

Objective-C Blocks Under the Hood

2017-07-13 15:17:07 285

转载 说说XcodeLLDB调试的那些事儿

说说XcodeLLDB调试的那些事儿使用场景之一,接收他人的项目,快速理清其层次结构,可以打标识符断点,如下图每一个VC,都加了个在viewDidLoad方法处的断点,这样运行程序时,逐步断点,便可以理清层次,但是,需要手动不断的继续,依旧不是很好如果使用LLDB,就事半功倍~先上效果图LIDB简史Xcode5之前

2017-07-07 17:59:13 462

转载 iPhone开发技巧之调试篇(3)— 程序Crash后的调试技巧

http://blog.csdn.net/majiakun1/article/details/40790171

2017-07-07 17:58:27 274

转载 iOS崩溃crash大解析

http://www.jianshu.com/p/1b804426d212 作者 齐滇大圣 关注2016.04.14 10:54* 字数 6587 阅读 11343评论 19喜欢 211前言iOS崩溃是让iOS开发人员比较头痛的事情,app崩溃了,说明代码写的有问题,这时如何快速定位到崩溃的地方很重要。

2017-07-07 17:57:16 1365

原创 Git push remote rejected {change ### closed}

Git push remote rejected {change ### closed}

2017-05-10 08:56:01 4487

转载 iOS富文本字符串AttributedString详解

iOS富文本字符串AttributedString详解

2017-04-11 10:52:23 923

原创 ld: library not found for -lAFNetworking

ld: library not found for -lAFNetworking

2017-03-30 16:33:31 797

转载 浅谈SQL SERVER中事务的ACID

浅谈SQL SERVER中事务的ACID

2017-02-28 14:15:04 580

转载 iOS开发-文件管理

iOS开发-文件管理

2017-02-03 17:06:40 575

转载 dSYM 文件分析工具

dSYM 文件分析工具

2017-02-03 16:34:37 411

转载 记一次git amend事故处理方案

记一次git amend事故处理方案

2017-01-20 17:58:00 431

NSRunLoopDemo

runloop相关的代码整理。Timer,CustomSource,DispatchSource,ConfigRunLoop,ObserverRunloop等

2016-09-02

SourceDemo

dispatch_source_create,dispatch_source_set_timer

2016-08-25

Instance of Subclass, Subclass, Instance of Superclass, Superclass,

Instance of Subclass, Subclass, Instance of Superclass, Superclass,及方法直接的关系

2016-08-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除