码迷,mamicode.com
首页 >  
搜索关键字:weak reference的介绍    ( 1258个结果
IOS第18天(3,CALayer隐式动画)
******隐式动画(手指拖拽Layer)#import "HMViewController.h"@interface HMViewController ()@property (nonatomic, weak) CALayer *layer;@end@implementation HMViewCo...
分类:移动开发   时间:2015-09-06 18:12:10    阅读次数:162
IOS第18天(6,CAKeyframeAnimation关键帧动画)
*******#import "HMViewController.h"@interface HMViewController ()@property (weak, nonatomic) IBOutlet UIView *redView;@end@implementation HMViewContro...
分类:移动开发   时间:2015-09-06 17:53:37    阅读次数:191
线程间通信
#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@property (nonatomic,strong) NSOpera...
分类:编程语言   时间:2015-09-05 06:32:59    阅读次数:231
iOS开发UI篇----UI基础之美女轮播器(自动轮播)
1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @property (weak, nonatomic) IBOutlet UIScrollView *scrollView; 6 @property...
分类:移动开发   时间:2015-09-03 23:08:40    阅读次数:205
iOS开发UI篇----UI基础之Tom猫动画
#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;// 定义字典读取plist文件@property (nonatomic...
分类:移动开发   时间:2015-09-03 21:40:43    阅读次数:209
队列组
#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@property (weak, nonatomic) IBOutlet...
分类:其他好文   时间:2015-09-03 19:05:08    阅读次数:205
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
[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
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
1258条   上一页 1 ... 80 81 82 83 84 ... 126 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!