开发总结:
快捷键打开浏览器控制台cmd+option+J
强制退出任务或者打开任务栏:command+option+SSC(打开任务栏);command+option+shift+ESC(强制退出任务)
Xcode8关闭输出日志http://blog.csdn.net/u011467458/article/details/52571353
快捷多行注释:cmd+option+/
工具下载
SVN工具下载:
http://bbs.feng.com/read-htm-tid-7936664.html
配置PCH文件
打开TAGERS-----------Build Setting (All options)文件下搜索:prefix在Prefix Header点击配置:
$(SRCROOT)/PCH文件上个目录名/PCH.pch
http://blog.sina.com.cn/s/blog_801997310102v7q2.html
1.Xcode插件管理: Alcatraz
http://www.jianshu.com/p/7a2484123bf6//安装等相关操作步骤网址(1)
http://www.mamicode.com/info-detail-976060.html//安装等相关操作步骤网址(2)
2.网络请求
Http请求数据不下来报错:
(1)Error Domain=NSURLErrorDomain Code=-1022 "The resource couldnot be loaded because the App Transport Security policy requires the use of asecure connection." UserInfo={NSUnderlyingError=0x7fce0c9ac400 {ErrorDomain=kCFErrorDomainCFNetwork Code=-1022 "The resource could not beloaded because the App Transport Security policy requires the use of a secureconnection." UserInfo={NSErrorFailingURLStringKey=http://www.baidu.com/,NSLocalizedDescription=The resource could not be loaded because the AppTransport Security policy requires the use of a secure connection.,NSErrorFailingURLKey=http://www.baidu.com/}},NSErrorFailingURLStringKey=http://www.baidu.com/,NSErrorFailingURLKey=http://www.baidu.com/, NSLocalizedDescription=The resourcecould not be loaded because the App Transport Security policy requires the useof a secure connection.}
配置https:
解决方法:http://www.tuicool.com/articles/IjYNzaI
(2)网络请求遇到错误
原因:后台接口没有传递jsion类型接口参数
解决方法:添加
manager.requestSerializer =[AFHTTPRequestSerializer serializer];
(3)网络请求错误原因:
主要是后台错误,让后台去调试。 ··
AFNetworking3.0的使用 :http://www.jianshu.com/p/11bb0d4dc649
3.安装cocoapods
http://www.cnblogs.com/jys509/p/4839803.html 安装指南网址
http://www.cnblogs.com/jys509/p/4839803.html // 安装最新cocoapods网址
http://www.cnblogs.com/brycezhang/p/3675670.html//cocoapod安装升级更新
安装cocoapods出现错误:[!] /usr/local/bin/git clonehttps://github.com/CocoaPods/Specs.git master