- 博客(7)
- 收藏
- 关注
原创 swift js 实现简单的交互 JavaScriptCore
主要介绍xcode自带的JavaScriptCore.framework的用法添加framework 工程文件->target->general->linked frameworks and libraries ->下面+号点下 搜索javascriptCore ->添加import UIKitimport JavaScriptCore//这边是直接用
2016-05-31 18:01:55 4050 1
原创 linker command failed with exit code 1 (use -v to see invocation)
看了网上的一堆解决方法,没用 后来试了一下clean 就好了 这使用于svn代码没改更新的时候出错
2016-05-27 10:49:52 191
转载 iOS利用runtime技术实现容器的越界和nil保护
在实际的项目中,经常会遇到这样的错误 :1.png2.png3.png他们分别是因为添加nil到NSDictionary,添加nil到NSArray,数组越界。为了防止这些因为代码疏忽而造成的崩溃,所以写了WQContainerSafe这个类。类介绍这文件一定要在工程中弄成mrc的。不然会有这样一个bug 在弹出键盘后home出程序就会cra
2016-05-16 15:24:11 1012
原创 no such file or directory: Prefix.pch' PCH全局化问题
在路径$(RSCROOT)/工程名/Prefix.pch中我写的是这个路径 但是实际 存在的路径是/工程文件名/other/Catergory/Prefix.pch //所以应该写实际在文件夹中路径 就可以了 或者把文件拖到你写的文件路径下参见网上解决方法Hi, it's simple to fix. Just look at the error. Go to
2016-05-06 10:52:19 576
转载 MJRefresh 新版使用方法
下拉刷新01-默认self.tableView.header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{ // 进入刷新状态后会自动调用这个block}];或// 设置回调(一旦进入刷新状态,就调用target的action,也就是调用self的loadNewData方法)self.tableView.heade
2016-05-03 19:48:58 2123
转载 CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 9.3'
在真机测试的时候往往会突然出现这样一个错误,code signing is required for product type 'Application' in SDK 'iOS 7.0' ,就是说代码签名证书不对劲。解决方案,1.选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug
2016-05-03 14:25:39 845
转载 Undefined symbols for architecture x86_64: "_sqlite3_close", referenced from:
It looks like libsqlite3.tbd is the new libsqlite3.dylib. I added it and everything worked.Go to the Build Phases tab. Expand the "Link Binary with Libraries" section. Click on the + icon. Sea
2016-05-03 14:22:49 784
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人