在我们使用git管理我们代码的时候,不管任何时候都应该遵循这个操作原则:1.git status 查看你本地是否修改。创建文件、添加代码、删除代码、查看xib 、 storyboard文件,查看工程设置都会造成文件的修改;有些时候教经常会有人说我什…
原文地址:
http://cocoapods.org
http://guides.cocoapods.org
https://github.com/CocoaPods/CocoaPods INSTALL: CocoaPods is built with Ruby and is installable with the default Ruby available on OS X. We recommend you do this. Using …
Unable to add a source with url https://github.com/CocoaPods/Specs.git named master. You can try adding it manually in ~/.cocoapods/repos or via pod repo add. 在Cocoa pods安装过程中经常会遇到这个错误: 解决方法在命令行中执行下边这句话:…
CONFLICT(content):Merge conflict in XXXX/.DS_Store.
AutoMatic merge failed;fix conflicts and then commit the result.
意思是:
冲突内容:合并冲突在 XXXX.DS_Store文件中
自动合并失败ÿ…
在我们打印指针变量所占字节数的时候知道指针变量所占的字节数只跟操作系统的位数有关。 int a 20;
int *p &a;
printf("SizeA %lu\n", sizeof(a));
printf("SizeP %lu\n", sizeof(p));输出结果为: 那么如果我们想看到指针变量输出的字…
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your apps Info.plist file.
今天打开以前的一个网络请求的工程,重新运行之后发现工程出问题了,上边…