项目需要,学习下Fragment,怎么学习,毫不犹豫的选择看官方文档,文档内容如下,感觉重要的的内容标记为红色:Creating a FragmentFigure 2.The lifecycle of a fragment (while its activity is running).To cre...
分类:
其他好文 时间:
2014-06-27 19:10:33
阅读次数:
306
?C程序设计笔记第一课单词:main 主函数 else 否则int 整数型 for 循环float 浮点型 while 当...的时候char 字符型 swichprintf 输出函数 case 案例scanf 输入函数 default 默认 if 如果 ...
分类:
其他好文 时间:
2014-06-27 16:38:12
阅读次数:
263
Linux下实现秒级定时任务的两种方案(Crontab 每秒运行):第一种方案,当然是写一个后台运行的脚本一直循环,然后每次循环sleep一段时间。while true ;docommandsleep XX //间隔秒数done第二种方案,使用crontab。我们都知道crontab的粒度最小是到分...
分类:
系统相关 时间:
2014-06-27 16:27:29
阅读次数:
339
转自:http://blogs.technet.com/b/praveenh/archive/2013/02/22/sharepoint-2013-prerequisites-fails-with-msi-installer-error-code-1603-while-installing-appf...
分类:
移动开发 时间:
2014-06-27 16:01:36
阅读次数:
425
第一步:创建表 1 declare @countInt int 2 declare @age int 3 set @age =20 4 set @countInt=1 5 while(@countInt=50)14 begin15 set @age=25;16 end17 18 end19 ...
分类:
数据库 时间:
2014-06-27 14:23:47
阅读次数:
434
工程目录:Singleton.h//.h#define single_interface(class) + (class *)shared##class;//.m// \ 代表下一行也属于宏// ##是分隔符#define single_implementation(class) \static c...
分类:
数据库 时间:
2014-06-27 14:15:13
阅读次数:
255
有没有那么一个时候,特别想知道现在的时间呢。上代码。- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"RootV...
分类:
其他好文 时间:
2014-06-27 13:21:01
阅读次数:
150
Singleton.h#define singleton_h(name) + (instancetype)shared##name;#if __has_feature (objc_arc)#define singleton_m(name) \static id _instance; \\+ (id)...
分类:
编程语言 时间:
2014-06-26 16:39:23
阅读次数:
193
题目#include//最长上升子序列 nlogn//入口参数:数组名+数组长度,类型不限,结构体类型可以通过重载运算符实现//数组下标从1号开始。int bsearch(int a[],int len,int num){ int left=1,right=len; while(left...
分类:
其他好文 时间:
2014-06-26 16:20:12
阅读次数:
236
NSKeyedArchiver是加密形式的保存数据。上代码。- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"N...
分类:
其他好文 时间:
2014-06-26 11:24:49
阅读次数:
161