#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@property (weak, nonatomic) IBOutlet...
分类:
其他好文 时间:
2015-09-03 19:05:08
阅读次数:
205
原文来源: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
//异步函数+全局并发队列 嵌套 异步函数+主队列#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
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
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
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
//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
在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
__weak typeof(self) weakSelf = self的应用意思是声明了一个self类型的weakSelf,加上__weak表示它是弱引用的。整行代码就是给self定义了一个弱引用性质的替身。一般用在block上,因为block会copy它内部的变量,可能会造成循环引用,使用__we...
分类:
其他好文 时间:
2015-09-01 16:33:25
阅读次数:
209