码迷,mamicode.com
首页 >  
搜索关键字:weak reference    ( 6649个结果)
队列组
#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@property (weak, nonatomic) IBOutlet...
分类:其他好文   时间:2015-09-03 19:05:08    阅读次数:205
MySQL - Show Processlist 整理(转)
原文来源:MySQL 5.5 Reference Manual部分翻译取自:《MySQL_5.1中文参考手册》转载请注明原文链接http://www.cnblogs.com/lenagt/archive/2012/06/06/2538201.html谢谢。----------------------...
分类:数据库   时间:2015-09-03 11:33:58    阅读次数:257
GCD 线程间的通信
//异步函数+全局并发队列 嵌套 异步函数+主队列#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIButton *button;@end@implementati...
分类:编程语言   时间:2015-09-02 23:22:58    阅读次数:346
线程间的通信 代码
#import "ViewController.h"@interface ViewController ()//图片框 UIImageView@property (weak, nonatomic) IBOutlet UIImageView *imageView;@end@implementation...
分类:编程语言   时间:2015-09-02 01:53:01    阅读次数:158
undefined reference to _imp__xmlFree
Re: [xml] MSYS and MINGW: undefined reference to _imp__xmlFreeFrom: Mike Peat To: danielg teragram comCc: "Daniel Richard G." , xml gnome orgSubject: ...
分类:其他好文   时间:2015-09-02 00:25:53    阅读次数:400
[LintCode] Find the Weak Connected Component in the Directed Graph
Find the number Weak Connected Component in the directed graph. Each node in the graph contains a label and a list of its neighbors. (a connected set ...
分类:其他好文   时间:2015-09-01 21:12:12    阅读次数:344
Quick_Cocos2d_x V3.3 Protobuf Android
ios集成protobuf之后,调用pro.android/build_native.sh 生成android工程的时候会出现 jni/../../Classes/AppDelegate.cpp:125: error: undefined reference to ‘luaopen_protobuf_c‘ clang++: error: linker com...
分类:移动开发   时间:2015-09-01 18:38:18    阅读次数:240
js String方法集合
//https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String//返回对应索引的字符chartAt()//返回对应所引的字符的统一码(Unicode value)charCodeAt(...
分类:Web程序   时间:2015-09-01 18:24:24    阅读次数:160
ios晋级之路-强引用和弱引用
在objective-c的ARC模式中,请看以下代码id objc =[[NSObject alloc]init];这里id默认为强引用在强引用中,有时会出现循环引用的情况,这时就需要weak来帮忙啦int main(int argc, const char * argv[]) { id __we....
分类:移动开发   时间:2015-09-01 16:42:49    阅读次数:183
block的一些用法
__weak typeof(self) weakSelf = self的应用意思是声明了一个self类型的weakSelf,加上__weak表示它是弱引用的。整行代码就是给self定义了一个弱引用性质的替身。一般用在block上,因为block会copy它内部的变量,可能会造成循环引用,使用__we...
分类:其他好文   时间:2015-09-01 16:33:25    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!