#import @interface UserContext : NSObject @property (nonatomic,copy) NSString *name;@property (nonatomic,copy) NSString *emial;+(id) shareUsercontext;...
分类:
移动开发 时间:
2014-08-16 19:42:00
阅读次数:
198
Systick的两大作用: 1、可以产生精确延时; 2、可以提供给操作系统一个单独的心跳(时钟)节拍;通常实现Delay(N)函数的方法为: for(i=0;i<x;i++) ; 对于STM32系统微处理器来说,执行一条指令只有几十ns(纳秒),进入for循环,要实现N毫秒的x值非常大...
分类:
其他好文 时间:
2014-08-16 18:26:30
阅读次数:
198
@interface Person : NSObject//retian : release 旧值,retain 新值@property(nonatomic,retain) Book *book;//copy:release旧值,copy 新值@property(nonatomic,retain) ...
分类:
其他好文 时间:
2014-08-16 16:20:50
阅读次数:
206
Bug 7715339 - Logon failures causes "row cache lock" waits - Allow disable of logon delay
(文档 ID 7715339.8) 到底部
修改时间:2012-7-26类型:PATCH
为此文档评级 通过电子邮件发送此文档的链接 在新窗口中打开文档 可打印页
Bug 7715339 Logon...
分类:
其他好文 时间:
2014-08-16 15:11:50
阅读次数:
236
//GCD 的使用方式
dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
async表明运行方式
queue则是你把任务交给那个线程队列来处理
block代表的是你要做的事情
//线程运行方式
dispatch_async 异步执行
dispatch_sync 同步执行
dispatch_delay 延迟执行
......
分类:
移动开发 时间:
2014-08-16 15:07:30
阅读次数:
274
1 @property (retain, nonatomic) NSString *retainStr; 2 @property (copy, nonatomic) NSString *copyStr; 3 4 5 6 @property (retain, nonatomi...
分类:
移动开发 时间:
2014-08-16 09:40:20
阅读次数:
172
CLUSTER_DATABASE Property Description Parameter type Boolean Default value false Modifiable No Range of values true | false Basic Yes Real Application...
分类:
其他好文 时间:
2014-08-16 09:38:40
阅读次数:
217
先来定义一个Human父类定义部分:1234567891011121314151617181920//// Human.h// OOP//// Created by jimmy.yang on 11-2-9.// Copyright 2011 __MyCompanyName__. All right...
分类:
其他好文 时间:
2014-08-15 23:47:09
阅读次数:
329
animation:animation-name | animation-duration | animation-timing-function | animation-delay | animation-iteration-cout | animation-direction | a...
分类:
Web程序 时间:
2014-08-15 19:12:49
阅读次数:
237
x轴缩放:CABasicAnimation *theAnimation;theAnimation=[CABasicAnimation animationWithKeyPath:@"transform.scale.x"];theAnimation.duration=8;theAnimation.rem...
分类:
移动开发 时间:
2014-08-15 17:42:49
阅读次数:
374