头文件中如下定义宏:/** * @brief 默认空间名(必填项) */#error 
必填项#define DEFAULT_BUCKET @""/** * @brief 默认表单API功能密钥 (必填项) */#error 必填项#define 
DEFAULT_PASSCODE @...
                            
                            
                                分类:
移动开发   时间:
2014-04-28 18:15:07   
                                阅读次数:
684
                             
                    
                        
                            
                            
                                #import "RootViewController.h"@interface 
RootViewController ()@end@implementation RootViewController- 
(id)initWithNibName:(NSString *)nibNameOrNil bun...
                            
                            
                                分类:
移动开发   时间:
2014-04-28 17:25:33   
                                阅读次数:
629
                             
                    
                        
                            
                            
                                //// RootViewController.m// uitableview//// 
Created by liyang on 14-4-27.// Copyright (c) 2014年 liyang. All rights 
reserved.//#import "RootViewCo...
                            
                            
                                分类:
移动开发   时间:
2014-04-28 06:09:42   
                                阅读次数:
678
                             
                    
                        
                            
                            
                                Refer: App States and 
MultitaskingiOS设备的系统资源有限,所以App在前台运行和在后台运行的时候是有区别的。为了节省电池寿命和用户体验,App在后台运行的时候,有一些功能会被操作系统限制。当App在前台运行的时候,可以处理系统发送的touch事件。UIKit基础架...
                            
                            
                                分类:
移动开发   时间:
2014-04-28 04:11:32   
                                阅读次数:
643
                             
                    
                        
                            
                            
                                //// RootViewController.m// uitableview//// 
Created by liyang on 14-4-27.// Copyright (c) 2014年 liyang. All rights 
reserved.//#import "RootViewCo...
                            
                            
                                分类:
移动开发   时间:
2014-04-28 03:28:08   
                                阅读次数:
606
                             
                    
                        
                            
                            
                                IOS 通过ip地址获取当前城市的编号 //解析网址通过ip 获取城市天气代码 NSURL *url 
= [NSURL URLWithString:@"http://61.4.185.48:81/g/"]; // 定义一个NSError对象,用于捕获错误信息 
NSError *error; NSS....
                            
                            
                                分类:
移动开发   时间:
2014-04-28 02:36:49   
                                阅读次数:
832
                             
                    
                        
                            
                            
                                分析的过程:1、假设前序遍历的第一个值为a,该值就是原二叉树的根节点。2、在中序遍历结果中查找a。 
则在中序遍历中a前面的节点,就是原二叉树a节点左子树的中序遍历结果;在a后面的节点,就是原二叉树a节点右子树的中序遍历结果。3、由第二步得到a节点左子树的节点个数为m,那么在前序遍历中a后面的m个节点...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 02:32:53   
                                阅读次数:
451
                             
                    
                        
                            
                            
                                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
                             
                    
                        
                            
                            
                                本文中的代码托管在github上:https://github.com/WindyShade/DataSaveMethods相对复杂的App仅靠内存的数据肯定无法满足,数据写磁盘作持久化存储是几乎每个客户端软件都需要做的。简单如“是否第一次打开”的BOOL值,大到游戏的进度和状态等数据,都需要进行本...
                            
                            
                                分类:
移动开发   时间:
2014-04-27 22:44:13   
                                阅读次数:
819
                             
                    
                        
                            
                            
                                此系列文章只是OpenCV 
tutorials的学习和总结。网址:http://docs.opencv.org/doc/tutorials/tutorials.html基础OpenCV入门包括以下内容:OpenCV介绍---------------------------------学习如何安装Op...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 22:34:28   
                                阅读次数:
503