之前已经写过一个个人关于代理模式的一些看法,现在就来总结一下使用代理模式的步骤吧。 1.先搞清楚谁是谁的代理(delegate)●2.定义代理协议,协议名称的命名规范:控件类名 + Delegate●3.定义代理方法Ø代理方法一般都定义为@optionalØ代理方法名都以控件名开头Ø代理方法至少有....
分类:
其他好文 时间:
2015-01-14 12:23:04
阅读次数:
134
are:* name - an optional name for the CacheManager. The name is optional and primarily usedfor documentation or to distinguish Terracotta clustered .....
分类:
系统相关 时间:
2015-01-12 23:45:59
阅读次数:
979
python面向对象创建类:使用class语句来创建一个新类,class之后为类的名称并以冒号结尾,如下实例:class ClassName: 'Optional class documentation string'#类文档字符串 class_suite #类体类的帮助信息可以通过Cla...
分类:
编程语言 时间:
2015-01-11 17:30:22
阅读次数:
246
http://www.cnblogs.com/wanyakun/p/3494323.html强引用(Required)的framework是一定会被加载到内存的,但是弱引用(Optional)的framework只在需要时才会被载入内存,这对于比较大的framework来说,在最初加载的时候会省很多...
分类:
移动开发 时间:
2015-01-09 22:18:28
阅读次数:
487
最近用JBoss部署WEB应用时报出了一个警告错误15:50:06,865 WARN [org.jboss.as.ee] (MSC service thread 1-13) JBAS011006: Not installing optional component org.springframewo...
分类:
编程语言 时间:
2015-01-05 14:30:54
阅读次数:
187
咱接着往下讲解IMAGE_OPTIONAL_HEADER32 结构定义即各个属性的作用!(视频教程:http://fishc.com/a/shipin/jiemixilie/)接着我们来谈谈IMAGE_OPTIONAL_HEADER 结构,正如名字的意思,这是一个可选映像头,是一个可选的结构,但是呢...
分类:
其他好文 时间:
2015-01-03 22:20:55
阅读次数:
210
今天是一个关于项目开发时遇到的简单问题,对于使用数组存储数据内容时,在申明时采用隐式申明即'!',在之后的过程中很大可能会出现unexpectedly found nil while unwrapping An optional value。...
分类:
编程语言 时间:
2015-01-03 09:22:01
阅读次数:
221
作者:小甲鱼接着我们来谈谈 IMAGE_OPTIONAL_HEADER 结构,正如名字的意思,这是一个可选映像头,是一个可选的结构。但是呢,实际上上节课我们讲解的 IMAGE_FILE_HEADER 结构远远不足以来定义 PE 文件的属性。因此,这些属性在 IMAGE_OPTIONAL_HEADER...
分类:
其他好文 时间:
2015-01-01 17:15:17
阅读次数:
231
I was trying to insert new data while the where clauses have an "optional" clause. I thought I also need to use optional in the insert clause, but it'...
分类:
其他好文 时间:
2014-12-08 17:36:20
阅读次数:
181
使用的是 https://github.com/mingchen/protobuf-ios 首先是下载下来
它其中使用到得命令行
$ cd compiler
$ ./autogen.sh
$ ./configure
$ make
$ make install (optional)
The compiler is genrated at src/protoc....
分类:
移动开发 时间:
2014-12-08 02:07:14
阅读次数:
246