ARC forbids explicit message sendof'dealloc' 在xcode中,打开“Build Setting”,找到“Objective-C Automatic Reference Counting”项,将它的值设置成“NO”,即可。 如果未找到“Objective-C ...
分类:
移动开发 时间:
2016-05-05 14:28:37
阅读次数:
237
ARC在OC里面个人感觉又是一个高大上的牛词,在前面Objective-C中的内存管理部分提到了ARC内存管理机制,ARC是Automatic Reference Counting 自动引用计数。有自动引用计数,那么就得有手动引用计数MRC(Mannul Reference Counting),前面 ...
分类:
其他好文 时间:
2016-05-05 12:38:59
阅读次数:
291
1. Server Error in '/' Application. Object reference not set to an instance of an object. 这个问题是接口中的方法有参数,测试时要输入入参。 2.无法加载程序集 将运行代码所需的所有程序集复制到bin(代码生成目 ...
分类:
编程语言 时间:
2016-05-05 09:44:29
阅读次数:
209
reference: http://www.fool.com/investing/general/2014/10/22/intel-corporation-reveals-new-server-chip-roadmap.aspx ...
分类:
其他好文 时间:
2016-05-04 22:46:08
阅读次数:
1968
KDK -- Knockdown kit --成套散件 reference https://en.wikipedia.org/wiki/Knock-down_kit BIK -- Board in KDK BKC -- Best Known Configuration APL -- Automati ...
分类:
其他好文 时间:
2016-05-04 22:25:19
阅读次数:
133
之前的编程没有遇到过,应该是苹果官方那边又做了新规吧。 不过不要紧,只要根据这个就能解决报错问题。 Set Build Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak References in Manual Retain Re ...
分类:
系统相关 时间:
2016-05-04 19:00:09
阅读次数:
213
#import "DragerViewController.h" @interface DragerViewController () @property (nonatomic, weak) UIView *leftV; @property (nonatomic, weak) UIView *rig ...
分类:
其他好文 时间:
2016-05-03 17:53:26
阅读次数:
151
刚下载下来是这个文件夹: 打开文件夹称为这个: docs里面放置的是spring的帮助文档打开是这样的: api版本的和reference版本的,reference版本的api比较适合初学者使用 打开reference文件夹: 以html版本的为例子,进入index.html页面,索引你需要的spr ...
分类:
编程语言 时间:
2016-05-03 16:07:20
阅读次数:
127
Unity编辑器经常提示一个Warning:Uncaughtexceptioninasyncnetcallback:ObjectreferencenotsettoaninstanceofanobjectUnityEditor.AsyncHTTPClient:Done(State,Int32)Unity的令人费解的BUG,解决方法为取消ShowAssetStoresearchhits选项:
分类:
编程语言 时间:
2016-05-03 12:51:14
阅读次数:
895
#import "ViewController.h" @interface ViewController () <UIScrollViewDelegate> @property (weak, nonatomic) IBOutlet UIScrollView *scrollView; @propert ...
分类:
其他好文 时间:
2016-05-02 23:00:35
阅读次数:
391