01 2017 档案
摘要:NSInteger age = 10; NSLog@(@"%zd",age); 如果使用 %ld 占位符 如果不兼容32和64系统则warning:“add an explicit cast to 'long' instead”
阅读全文
摘要:Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7fb3ddd0ba80 of class BtnViewController was deall
阅读全文
摘要:库:库是共享程序代码的方式,一般分为静态库和动态库;库实现了iOS程序的模块化,将某些特定的功能模块化为库的格式方便分享和使用! 动态库:链接时不复制,程序运行时由系统动态加载到内存,供程序调用,系统只加载一次,多个程序共用,节省内存。 .dylib和.framework(系统提供给我们的frame
阅读全文
摘要:“App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app
阅读全文
摘要:my github site: https://github.com/secondLieutenantCoder?tab=repositories my blog site : http://www.cnblogs.com/code-Officer/ my job resume site : htt
阅读全文
摘要:1: $ ping github.com control + c 停止 ping 结果: github.com ping statistics 495 packets transmitted, 375 packets received, 24.2% packet lossround-trip min
阅读全文
摘要:Undefined symbols for architecture x86_64: 出现类似 Undefined symbols for architecture x86_64 错误,一般是缺少包的引用, 请尝试xcode-->项目-->Build phases-->Link Binaray Wi
阅读全文
摘要:1,向README文件中添加图片,用于展示程序效果或辅助说明! 两步: 首先,向github 上传所需的图片; 然后,打开README文件,写入图片的格式为:  forControlEvents:UIControlEventTouchUpI
阅读全文
摘要:UITableViewCell * cell = [[UITableViewCell alloc] init]; 设置cell的附件类型: // >1 打钩 选中// cell.accessoryType = UITableViewCellAccessoryCheckmark; // >2 圆圈 +
阅读全文
摘要:仅针,后台数据为GBK编码时的AFNetWorking 使用情况: 1. Request failed: unacceptable content-type: text/html solution: manager.responseSerializer.acceptableContentTypes
阅读全文
摘要:1: Xcode will continue when iPad is finished. 等待进度条读取完成即可; 2: xcode,安装新版本的iOS 的 xcode 支持文件 的路径: /applications/Xcode.app/Contents/Developer/Platforms/i
阅读全文