01 2017 档案

摘要:NSInteger age = 10; NSLog@(@"%zd",age); 如果使用 %ld 占位符 如果不兼容32和64系统则warning:“add an explicit cast to 'long' instead” 阅读全文
posted @ 2017-01-20 09:00 wangwei_Carry 阅读(614) 评论(0) 推荐(0) 编辑
摘要:Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7fb3ddd0ba80 of class BtnViewController was deall 阅读全文
posted @ 2017-01-19 09:30 wangwei_Carry 阅读(157) 评论(0) 推荐(0) 编辑
摘要:库:库是共享程序代码的方式,一般分为静态库和动态库;库实现了iOS程序的模块化,将某些特定的功能模块化为库的格式方便分享和使用! 动态库:链接时不复制,程序运行时由系统动态加载到内存,供程序调用,系统只加载一次,多个程序共用,节省内存。 .dylib和.framework(系统提供给我们的frame 阅读全文
posted @ 2017-01-18 12:43 wangwei_Carry 阅读(197) 评论(0) 推荐(0) 编辑
摘要:“App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app 阅读全文
posted @ 2017-01-18 09:13 wangwei_Carry 阅读(177) 评论(0) 推荐(0) 编辑
摘要:my github site: https://github.com/secondLieutenantCoder?tab=repositories my blog site : http://www.cnblogs.com/code-Officer/ my job resume site : htt 阅读全文
posted @ 2017-01-17 17:02 wangwei_Carry 阅读(241) 评论(0) 推荐(0) 编辑
摘要:1: $ ping github.com control + c 停止 ping 结果: github.com ping statistics 495 packets transmitted, 375 packets received, 24.2% packet lossround-trip min 阅读全文
posted @ 2017-01-17 08:57 wangwei_Carry 阅读(1410) 评论(0) 推荐(0) 编辑
摘要:Undefined symbols for architecture x86_64: 出现类似 Undefined symbols for architecture x86_64 错误,一般是缺少包的引用, 请尝试xcode-->项目-->Build phases-->Link Binaray Wi 阅读全文
posted @ 2017-01-16 14:21 wangwei_Carry 阅读(176) 评论(0) 推荐(0) 编辑
摘要:1,向README文件中添加图片,用于展示程序效果或辅助说明! 两步: 首先,向github 上传所需的图片; 然后,打开README文件,写入图片的格式为: ![image](https://github.com/secondLieutenantCoder/TableAndCollection/b 阅读全文
posted @ 2017-01-11 16:03 wangwei_Carry 阅读(1900) 评论(0) 推荐(0) 编辑
摘要:1: fasdfsdfsdfsdfssdfeated by jianquan on 2016/11/23.// Copyright © 2016年 JoySeeDog. All rights reserved.//#import "JQBTHomeTableViewCell.h"#import "M 阅读全文
posted @ 2017-01-09 14:04 wangwei_Carry 阅读(137) 评论(0) 推荐(0) 编辑
摘要:这个报错有些长: Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: 阅读全文
posted @ 2017-01-07 08:59 wangwei_Carry 阅读(589) 评论(0) 推荐(0) 编辑
摘要:1: navigationController 的返回按钮自定义 SecondViewController *secondVC = [SecondViewController new]; //更改UINavigationController的返回按钮 UIBarButtonItem *backBut 阅读全文
posted @ 2017-01-06 09:32 wangwei_Carry 阅读(1699) 评论(0) 推荐(0) 编辑
摘要:1 Xcode 报错:This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain a 阅读全文
posted @ 2017-01-06 09:07 wangwei_Carry 阅读(2917) 评论(0) 推荐(0) 编辑
摘要:1, 为数组中的每一个button添加点击事件; [_buttonArray makeObjectsPerformSelector:@selector(addTarget:self action:(orderKind:) forControlEvents:UIControlEventTouchUpI 阅读全文
posted @ 2017-01-05 08:41 wangwei_Carry 阅读(263) 评论(0) 推荐(0) 编辑
摘要:UITableViewCell * cell = [[UITableViewCell alloc] init]; 设置cell的附件类型: // >1 打钩 选中// cell.accessoryType = UITableViewCellAccessoryCheckmark; // >2 圆圈 + 阅读全文
posted @ 2017-01-05 08:27 wangwei_Carry 阅读(2132) 评论(0) 推荐(0) 编辑
摘要:仅针,后台数据为GBK编码时的AFNetWorking 使用情况: 1. Request failed: unacceptable content-type: text/html solution: manager.responseSerializer.acceptableContentTypes 阅读全文
posted @ 2017-01-04 12:33 wangwei_Carry 阅读(577) 评论(0) 推荐(0) 编辑
摘要:1: Xcode will continue when iPad is finished. 等待进度条读取完成即可; 2: xcode,安装新版本的iOS 的 xcode 支持文件 的路径: /applications/Xcode.app/Contents/Developer/Platforms/i 阅读全文
posted @ 2017-01-03 17:53 wangwei_Carry 阅读(1790) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示