摘要:
今天搭建界面,界面间的跳转使用了 push方法,结果发现界面间转换时有明显的卡顿现象,并没有做过数据请求之类的处理,所以感觉好神奇。以前好像也遇到过,当时在push 到的下级界面加个背景色。现在重新这样做,果然发现不再有卡顿现象。不知道这是为什么,故记录并查之。据说,两个原因导致的:1)渲染的问题, 阅读全文
摘要:
近日闲来无事,与博客园中闲荡,忽至一烟霞照耀祥瑞蒸熏松竹翠秀奇花遍开的神奇之地。如此美景,令人心生向往,故而徜徉于其中不可自拔,独乐乐不如众乐乐: iOS开发之 相对路径与绝对路径 https://developer.apple.com/library/mac/documentation/Devel 阅读全文
摘要:
玩代码的时候遇到一问题,用的 storyboard 的时候分页不能自动获取到类,Automatic 里是空的,然后自动选到该类下的时候控件貌似可以拖过去,但是当 cennect 的时候会报错:“could not insert new action connection could not find 阅读全文
摘要:
跟着廖雪峰学 GIT http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 GUI for git|SourceTree|入门基础 http://www.jianshu.com/p/be9 阅读全文
摘要:
$(PLATFORM_DIR)/Developer/Library/Frameworks 就好了。 阅读全文
摘要:
出现这样的错误: error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 具体如图: 我按照提示在终端打开工程,pod inst 阅读全文
摘要:
2016-06-13 10:27:49.781 TheBeeWorld[346:48482] -[__NSCFString singer]: unrecognized selector sent to instance 0x14e8d5cb0
2016-06-13 10:27:49.783 TheBeeWorld[346:48482] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString singer]: unrecognized selector sent to instance 0x14e8d5cb0'
libc++abi.dylib: terminating with uncaught exception of type NSException 阅读全文
摘要:
Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior (<UISearchController: 0x 阅读全文
摘要:
今天体验AFNetwork 3.1.0 进行数据解析,但是解析数据控制台一直都输出这样的 error 结果: 于是,照着以前AFN2.+版本的进行设置: 结果发现在新版本的 AFN 上不能设置了。既然代码改不了,那就去寻找根源吧,到AFURLResponseSerializer.m文件中,将 tex 阅读全文
摘要:
今天新建的工程,突然发现模拟器找不到了,之前遇到过忘记怎么解决了,于是再次记录下解决方法。 首先说下问什么找不到模拟器了,原因就是之前运行的版本和现在xcode的版本不同(的确,我从 Xcode7.3.1上 创建的工程用 Xcode7.2打开)。 解决方法:项目名称->General->Deploy 阅读全文