Extjs3.x:
ID:这就是所熟知的Ext.getCmp(“组件ID”),缺点是id重复导致出错。
ref:在EXTJS3中,所有的组件都会有一个ref属性,也就是reference的意思。这种方式是通过对组件的引用而得到组件对象。例如:ref:’mypanel’,但是这种方式的局限性在于,他只能查找不同层级之间的组件。也就是说A[a,b,c] C[d,e,f],这样的...
分类:
Web程序 时间:
2014-11-20 23:43:51
阅读次数:
339
http://stackoverflow.com/questions/27037744/why-doesnt-c-allow-rebinding-a-reference#
分类:
编程语言 时间:
2014-11-20 20:01:23
阅读次数:
148
A character entity reference refers to the content of a named entity. An entity declaration is created by using thesyntax in aDocument Type Definition...
分类:
Web程序 时间:
2014-11-20 11:35:18
阅读次数:
579
#import #import "ViewController.h"@interface ViewController ()@property(nonatomic, weak) IBOutlet UILabel *label1;@end@implementation ViewController- ...
分类:
其他好文 时间:
2014-11-20 06:44:28
阅读次数:
307
类似的问题还有: why can't class template use Handle Class Pattern to hide its implementation? || why there are linker problems (undefined reference) to my cl...
分类:
编程语言 时间:
2014-11-19 20:18:49
阅读次数:
526
ARC 管理 概念: ARC简单,不用程序员在去管理内存 1.强指针 Strong[] :只要有强指针指向一个对象,那么系统就不会回收该对象 2.弱指针 weak :只要没有强指针指向对象,系统立即回收该对象3.默认情况下,所有的指针都是强指针类型4.创建出来就会立即被释放掉,应为...
分类:
其他好文 时间:
2014-11-19 18:03:00
阅读次数:
156
在做UIAlertView取消操作时,发现委托函数alertViewCancel:并不被调用,只好在alertView: didDismissWithButtonIndex:中进行判断。 1 @interface DateViewController () 2 @property (weak, n....
分类:
移动开发 时间:
2014-11-19 13:58:19
阅读次数:
186
Spring Batch_Configuring Skip Logic_配置允许抛出的异常 spring 官方文档:http://docs.spring.io/spring-batch/trunk/reference/html/configureStep.html#configuringSkip 当spring batch 处理过程中,可能要发...
分类:
编程语言 时间:
2014-11-19 12:47:19
阅读次数:
277
Java的Reference感觉很象C++的指针,但是区别是本质的他们相同之处在于都是含有一个地址,但是在Java中你无法对这个地址进行任何数学运算,并且这个地址你不知道,是Java Runtime分配给你的,它随时还要调整这个地址(After GC,Memory要Compact,这时候一个Obje...
分类:
编程语言 时间:
2014-11-18 23:58:51
阅读次数:
260
令operator= 返回一个 reference to *this...
分类:
编程语言 时间:
2014-11-17 22:55:09
阅读次数:
203