dekaiju / ios-tips-tricks Goto Github PK
View Code? Open in Web Editor NEWWrite down solved problems in iOS development
License: MIT License
Write down solved problems in iOS development
License: MIT License
公司的iOS客户端用的是一个域名来访问测试服的接口,但是最近在iOS和后端都没有更改网络访问配置的情况下出现了访问所有的接口都报403错误。一开始怀疑是安装了阿里云的安骑士服务,网络请求被拦截,卸载安骑士问题依旧;后来怀疑https证书失效的问题,发现测试服就没有使用https,直接是http,排除https证书失效的问题;偶然直接访问那个域名然后出现了阿里云提示的域名没有备案的提醒,所以403问题的原因是域名没有备案被阿里云拒绝了请求。直接更改iOS项目中的域名为测试服的IP问题解决。
Command + Shift + f 全局文字搜索
Command + Shift + o 搜索文件
Command + Shift + 0 打开开发文档
Control+6 搜索当前文件的property和method(键入方法/变量名+Enter跳转)
Control+5 同一文件夹下的文件切换
Control + Command + up .h和.m文件的切换
Control + Command + left(right) 打开文件的切换
Command + R 运行app
Command + B 编译app
Command + Shift + K 清理工程
Option + 点击 快速查看帮助文档
Command + 0 打开左侧面板
Command + Option +0 打开关闭右侧面板
Command + E 搜索选中的内容
很多常用的操作XCode并没有快捷键,所以要借助插件实现,使用的插件有
xTextHandler、EasyCode-Xcode
BackLight、BBUncrustifyPlugin、FastStub、FuzzyAutoComplete、KSImageNamed、Peckham、XcodeKit
其中xTextHandler和EasyCode可以在AppStore下载
https://github.com/tib/awesome-xcode-extensions
其他插件通过Alcatraz安装
http://alcatraz.io/
XCode8安装插件unsign
https://github.com/inket/update_xcode_plugins
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.