事件的产生与传递
正如我上图所总结的:
1.左边部分:我总结了事件传递的流程
2.中间部分:举例说明了实际情况
3.右边部分:一个View不能接受事件的情况
响应者链条
左边的情况,接收事件的initial view如果不能处理该事件并且她不是顶层的View,则事件会往它的父View进行传递。initial view的父View获取事...
分类:
其他好文 时间:
2015-05-16 09:07:17
阅读次数:
277
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initial...
分类:
编程语言 时间:
2015-05-15 21:13:28
阅读次数:
121
空表不能导出的问题:查资料发现Oracle11g中有个新特性:新增了一个参数“deferred_segment_creation”含义是段延迟创建,默认是true。具体是什么意思呢?deferred_segment_creation,即建立表的时候,这个表不会立即分配extent,也就是不占数据空间,即表也不分配segment以节..
分类:
数据库 时间:
2015-05-15 01:27:36
阅读次数:
270
【转自http://blog.chinaunix.net/uid-7982817-id-91999.html】Append用法总结2008-11-14 11:42:19分类:SyntaxAPPEND { wa | {INITIAL LINE} | {LINES OF jtab [FROM idx1]...
分类:
移动开发 时间:
2015-05-14 11:43:26
阅读次数:
261
Mobile开发之meta篇 width: viewport 的宽度 (范围从 200 到 10,000 ,默认为 980 像素 ) height: viewport 的高度 (范围从 223 到 10,000 ) initial-scale: 初始的缩放比例 (范围从>0到 10 ) ...
分类:
Web程序 时间:
2015-05-13 10:00:25
阅读次数:
138
一. 允许网页宽度自动调整: "自适应网页设计"到底是怎么做到的?其实并不难。 首先,在网页代码的头部,加入一行viewport元标签。viewport是网页默认的宽度和高度,上面这行代码的意思是,网页宽度默认等于屏幕宽度(width=device-width),原始缩放比 例(initial-sc...
分类:
移动开发 时间:
2015-05-12 18:42:08
阅读次数:
123
#include using namespace std;#define N 100int g_array[N]; //存放输入的数字static int count; //存放元素的个数// 初始化函数void Initial(){ cout > count; cout > g_array[i];...
分类:
编程语言 时间:
2015-05-12 11:16:57
阅读次数:
133
#include using namespace std;#define N 100int A[N]; static int n; void Initial(){ cout > n; cout > A[i]; }}void Print(){ cout 1) ...
分类:
编程语言 时间:
2015-05-12 11:07:52
阅读次数:
213
新建表空间启用sql plus:SQL> conn sys as sysdba;SQL> create tablespace CTL datafile 'D:\db\CTL.dbf' size 1000M 2 autoextend on next 1m maxsize 3000M extent ma...
分类:
其他好文 时间:
2015-05-10 22:09:27
阅读次数:
135
用的是回溯法 1 class Solution { 2 public: 3 int INITIAL = -1000; 4 // 一维数组a[n]中,下标代表行号,对应里面存的值代表列号。比如a[2] = 4,说明2行4列(0行0列为最开始的行列号) 5 bool place(...
分类:
其他好文 时间:
2015-05-10 11:11:52
阅读次数:
121