#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UITextField *name;@property (weak, nonatomic) IBOutlet UITe...
分类:
其他好文 时间:
2015-10-10 06:45:47
阅读次数:
213
reference : http://stackoverflow.com/questions/24590533/how-to-get-recent-tasks-on-android-l/26885469#26885469String topPackageName ;if(Build.VERSION....
分类:
移动开发 时间:
2015-10-09 22:44:26
阅读次数:
228
我的报错代码DB::unDB($_result = null , $_db);改成下面这种写法就不报错了。(和php版本有关系)$_result = null;DB::unDB($_result , $_db);
分类:
Web程序 时间:
2015-10-09 22:39:47
阅读次数:
167
#import?"ViewController.h"
@interface?ViewController?()?<UITextFieldDelegate>
@property?(weak,?nonatomic)?IBOutlet?UITextField?*usernameTextfield;
@property?(weak,?nonatomic)?IBOutlet?...
分类:
移动开发 时间:
2015-10-09 12:28:13
阅读次数:
190
手册:ARM Architecture Reference Manual.pdf章节:Programmers’ Model-->A2.3RegistersARM处理器总共有37个寄存器:1、31个通用寄存器2、6个程序状态寄存器------------------------------------...
分类:
其他好文 时间:
2015-10-09 00:43:47
阅读次数:
177
1、什么是ARC? (1)、ARC全名为Automatic Reference Counting,即是自动引用计数,会自动统计内存中对象的引用数,并在适当时候自动释放对象; (2)、在工程中使用ARC非常简单:只需要像往常那样编写代码,只不过永远不用写retain、 release和autorele...
分类:
其他好文 时间:
2015-10-08 18:00:52
阅读次数:
179
1. 智能指针(如标准库的auto_ptr,shared_ptr,weak_ptr,boost的scoped_ptr等)主要用于动态内存的管理,同时提供给用户与内置指针一样的使用方法,本条款主要涉及智能指针在构造与析构,复制和赋值,解引等方面的注意点,而非智能指针的实现细节.2. 智能指针的构造,赋...
分类:
编程语言 时间:
2015-10-06 23:38:32
阅读次数:
391
注意一下,c++的底层编译器而言,引用类型往往都是由指针来实现出来的,所以pass-by-reference实际意义上往往是传递了一个指针,这对于c++的内置类型来说往往传递一个reference更加昂贵一点。但是这不能成为对所有的小对象不使用pass-by-reference的理由。小结:1. 尽...
分类:
其他好文 时间:
2015-10-06 22:05:39
阅读次数:
230
14 InnoDB存储引擎14 InnoDB存储引擎... 114.1 InnoDB说明... 514.1.1 InnoDB作为默认存储引擎... 514.1.1.1 存储引擎的趋势... 514.1.1.2 InnoDB变成默认存储引擎之后... 514.1.1.3 InnoDB表好处... 61...
分类:
数据库 时间:
2015-10-06 20:47:24
阅读次数:
427
1. ?The substring() Method in JDK 6 and JDK 7 http://www.programcreek.com/2013/09/the-substring-method-in-jdk-6-and-jdk-7/ 2.?String is passed by “reference” in Java http://www.programcreek.co...
分类:
编程语言 时间:
2015-10-06 12:59:37
阅读次数:
195