码迷,mamicode.com
首页 >  
搜索关键字:ios gcd block    ( 74530个结果
iOS 中 #error宏 的使用的一个例子
头文件中如下定义宏:/** * @brief 默认空间名(必填项) */#error 必填项#define DEFAULT_BUCKET @""/** * @brief 默认表单API功能密钥 (必填项) */#error 必填项#define DEFAULT_PASSCODE @...
分类:移动开发   时间:2014-04-28 18:15:07    阅读次数:684
ios-表视图-demo4-内容自己适应高度
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:移动开发   时间:2014-04-28 17:25:33    阅读次数:629
ios-表视图-demo3-单选
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:移动开发   时间:2014-04-28 17:19:46    阅读次数:596
iOS 小知识-tips
--->12\n%@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent],__LINE__,__PRETTY_FUNCTION__ , [NSString stringWithFormat:(s), ##__VA_ARGS__...
分类:移动开发   时间:2014-04-28 15:19:16    阅读次数:579
ios-表视图-demo5-索引
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:移动开发   时间:2014-04-28 15:11:25    阅读次数:656
ios:CGContextRef 渲染中文问题
1.项目中遇到drawRect来渲染中文,但是调用CGContextShowTextAtPoint方法失败,于是查了些资料整理总结一下2.既然apple能显示中文,那么自然也是支持中文的。查看所有字体:NSArray *fontFamilies = [UIFontfamilyNames];for(N...
分类:移动开发   时间:2014-04-28 13:52:50    阅读次数:550
IOS中的多线程【二】— NSOperation和NSOperationQueue
NSOperationQueue是一套基于Objective-c语言的API。GCD与NSOperationQueue的优缺点:NSOperationQueue:比较安全GCD:没有NSOperationQueue安全,但使用起来简单,快速,还提供了一些操控底层的方法。实际开发中还是以GCD为主。N...
分类:移动开发   时间:2014-04-28 12:06:08    阅读次数:611
oracle core04_undo
undo信息oracle中undo的信息主要完成下面的功能:1,构建块一致性读2,回滚事务UBA:undo block address1,块中的事务槽ITL中的UBA表示这个ITL所在的block历经的最后一次改变所对应的undo record所在的UBA,主要用于一致读。2,undo segmen...
分类:数据库   时间:2014-04-28 01:49:29    阅读次数:619
iOS 推送证书
push 服务器证书钥匙串:登入--》证书,选项里面导出证书命名为cert.p12,跟密钥命名为key.p12需要将上面的2个.p12文件转成.pem格式:openssl pkcs12 -clcerts -nokeys -out cert.pem -in cert.p12openssl pkcs12...
分类:移动开发   时间:2014-04-27 23:12:13    阅读次数:749
iOS数据持久化存储
本文中的代码托管在github上:https://github.com/WindyShade/DataSaveMethods相对复杂的App仅靠内存的数据肯定无法满足,数据写磁盘作持久化存储是几乎每个客户端软件都需要做的。简单如“是否第一次打开”的BOOL值,大到游戏的进度和状态等数据,都需要进行本...
分类:移动开发   时间:2014-04-27 22:44:13    阅读次数:819
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!