控制器---->控件(strong)强引用控件.delegate---->控制器(strong)强引用控件中的delegate(nonatomic,weak)弱引用只有将控件中的delegate设置为weak才合理,不然会造成循环引用,导致控制器和子视图都无法被释放,造成内存泄露。
分类:
移动开发 时间:
2015-03-14 15:06:11
阅读次数:
114
Spring Framework Reference Documentation http://www.tutorialspoint.com Unit Test with Spring
分类:
其他好文 时间:
2015-03-13 11:03:59
阅读次数:
125
10年时候同事做的一个PPT, 把它整理上来.
Outline
NAND Flash介绍
YAFFS2 Overview
Tnode Structure
YAFFS2 Object
YAFFS2 Misc
Reference
Nand Flash
页(page)
?页是Nand Flash的写入操作的最小单位
○现在常见的flash page si...
分类:
其他好文 时间:
2015-03-13 11:02:27
阅读次数:
227
Java and C# ComparisonThis is a quick reference guide to highlight some key syntactical differences between Java and C#.This is not a complete overvie...
分类:
编程语言 时间:
2015-03-13 10:37:08
阅读次数:
186
蛋疼之余,仿真了一下BEEPS算法,速度方面真不咋样,效果还勉强凑合。本算法是基于全局的磨皮算法,即一键磨皮,要做局部的也是可以的,只需增加交互功能,代码及效果图献上。 1 % Reference: 2 % 该算法可以用来去噪,同时还可以用来磨皮,具有较好的保护边缘细节的能力 3 % Phil...
分类:
编程语言 时间:
2015-03-13 00:02:59
阅读次数:
668
ECEF(Earth-Centered, Earth-Fixed)地球为中心,符合地区,是一个笛卡尔坐标系,也称为“普通地表”系统, X,Y,Z表示坐标位置,(0,0,0)点表示地球质心。 它的坐标轴International Reference Pole 和 International Refer...
分类:
其他好文 时间:
2015-03-12 16:56:34
阅读次数:
5271
0. Annotation Trickshttp://developer.android.com/reference/java/lang/annotation/Annotation.html0.1 Annotation 接口"Defines the interface implemented by ...
分类:
编程语言 时间:
2015-03-12 13:14:19
阅读次数:
160
本文来源于我个人的ARC学习笔记,旨在通过简明扼要的方式总结出iOS开发中ARC(Automatic Reference Counting,自动引用计数)内存管理技术的要点,所以不会涉及全部细节。这篇文章不是一篇标准的ARC使用教程,并假定读者已经对ARC有了一定了解和使用经验。详细的关于ARC的信...
分类:
移动开发 时间:
2015-03-12 11:21:46
阅读次数:
195
#import "YYViewController.h" 10 11 //私有扩展 12 @interface YYViewController () 13 14 @property(nonatomic,weak)IBOutlet UIButton *headImageView; 15 @end.....
分类:
移动开发 时间:
2015-03-12 00:53:24
阅读次数:
273
#import "ViewController.h"#define kImage @"image"#define kDescribe @"describe"@interface ViewController ()@property (nonatomic, weak) UIImageView *pro...
分类:
其他好文 时间:
2015-03-12 00:50:27
阅读次数:
132