ios高效开发--blocks相关1、替换delegate
如果我们有2个viewController,a和b,当我们从a界面push到b后,在b上面触发了一些事件,这些时间又会影响到a界面上的内容。
上面是2个界面,当我们点击b界面的按钮3的时候,希望a界面上文字也相应的改变了如 一般...
分类:
其他好文 时间:
2014-05-10 01:45:33
阅读次数:
473
Ios4已经直接支持blocks,很有必要学习一下。在ios,blocks是对象,它封装了一段代码,这段代码可以在任何时候执行。Blocks可以作为函数参数或者函数的返回值,而其本身又可以带输入参数或返回值。它和传统的函数指针很类似,但是有区别:blocks是inline的,并且它对局部变量是只读的...
分类:
其他好文 时间:
2014-05-09 12:31:01
阅读次数:
262
在CentOS6.4 下安装OpenCV2.3.1和ffmpeg0.8,IDE使用Code::blocks,详细配置过程。...
分类:
其他好文 时间:
2014-05-09 02:44:08
阅读次数:
410
GCD是基于C语言的底层API,用Block定义任务用起来非常灵活便捷.
GCD的基本思想是就将操作放在队列中去执行 (1)操作使用Blocks定义 (2)队列负责调度任务执行所在的线程以及具体的执行时间
(3)队列的特点是先进先出(FIFO)的,新添加至对列的操作都会排在队尾关于多线程的一些概念....
分类:
其他好文 时间:
2014-05-02 06:32:43
阅读次数:
313
今天碰到了一个查询异常问题,上网查了一下,感谢原创和译者如果你使用的数据库连接类是 the Data
Access Application Blocks "SqlHelper" 或者 SqlClient Class , 你在执行一个很费时的SQL
操作时候,可能就会碰到下面的超时异常。-------...
分类:
其他好文 时间:
2014-05-01 21:31:30
阅读次数:
395
Intellectual blocks result in an inefficient
choice of mental tactics or a shortage of intellectual ammunition.Expressive
blocks inhibit your vital ab...
分类:
其他好文 时间:
2014-05-01 08:26:33
阅读次数:
317
The variables are guaranteed to be laid out
contiguously, as in C. However, the access blocks may not appear in the object
in the order that you decla...
分类:
数据库 时间:
2014-05-01 04:11:22
阅读次数:
543
原文 http://codecapsule.com/2014/02/12/coding-for-ssds-part-3-pages-blocks-and-the-flash-translation-layer/
在这个部分,我会解释写操作在页和块级是如何处理的,以及写入放大和损耗均衡计算的基本概念。此外,我描述了闪存转换层(FTL)的概念,以及应用了闪存转换层的两个技术:逻辑块地...
分类:
其他好文 时间:
2014-04-30 22:46:40
阅读次数:
273
windows下Code::Blocks建立GNU编译的工程:1、需要添加如下头文件:D:\E\programing\levent-libevent\includeD:\E\programing\levent-libevent\gnu\includeC:\Program
Files\Dev-Cpp\...
分类:
其他好文 时间:
2014-04-29 10:47:47
阅读次数:
284
The blocks in the city of Fishburg are of square form. N avenues running south to north and Mstreets running east to west bound them. A helicopter took off in the most southwestern
crossroads and fl...
分类:
其他好文 时间:
2014-04-27 21:16:59
阅读次数:
255