摘要: 原文:http://www.uml.org.cn/mobiledev/201203025.asp利用parse实现push功能:http://blog.sina.com.cn/s/blog_4b55f6860101begx.html开发者可以使用的:1.Parse(简单易用,轻松上手)2.Appcelerator Cloud Service(功能强大)3.StackMob(用的人最多,高度可定制化) 阅读全文
posted @ 2013-05-20 19:14 MyAppZone7797 阅读(137) 评论(0) 推荐(0) 编辑
摘要: #define LOADIMAGE(file,ext) [UIImage imageWithContentsOfFile:[[NSBundle mainBundle]pathForResource:file ofType:ext]]例如:imageView.image =LOADIMAGE(@"文件名",@"png");#define NavigationBar_HEIGHT 44//导航栏高度#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)//屏幕宽度#define SCREE 阅读全文
posted @ 2013-05-19 00:50 MyAppZone7797 阅读(250) 评论(0) 推荐(0) 编辑
摘要: //设定calayer self.view.layer.backgroundColor=[UIColor orangeColor].CGColor; self.view.layer.cornerRadius=10.0; self.view.layer.frame=CGRectInset(self.view.layer.frame, 20, 20); //设定边框层 CALayer *sublayer=[CALayer layer]; sublayer.backgroundColor=[UIColor grayColor].CGColor; sublayer.shadowOffset=CGS.. 阅读全文
posted @ 2013-05-18 16:39 MyAppZone7797 阅读(130) 评论(0) 推荐(0) 编辑
摘要: iphone项目还必须包含以下文件ASIAuthenticationDialog.hASIAuthenticationDialog.m添加必要的框架到项目中去CFNetwork.framework 、SystemConfiguration.framework、libz.1.2.3.dylibASIHTTPReques主要特色功能有:1,下载的数据直接保存到内存或文件系统里2,提供直接提交(HTTP POST)文件的API3,可以直接访问与修改HTTP请求与响应HEADER4,轻松获取上传与下载的进度信息5,异步请求与队列,自动管理上传与下载队列管理机6,认证与授权的支持7,Cookie8,请求 阅读全文
posted @ 2013-05-17 14:25 MyAppZone7797 阅读(161) 评论(0) 推荐(0) 编辑
摘要: iOS提供了使用其他app预览文件的支持,这就是Document Interaction Controller。此外,iOS也支持文件关联,允许其他程序调用你的app打开某种文件。而且,从4.2开始,Quick Look Framework提供了对多种文档的内置打印。你可以参考DocumentInteraction Controller类参考以及Quick Look Framework指南,以及DocInteraction示例程序。本文讨论了Document InteractionController的使用。-、创建实例DocumentInteraction Controller使用静态方法i 阅读全文
posted @ 2013-05-15 23:10 MyAppZone7797 阅读(821) 评论(0) 推荐(0) 编辑
摘要: string str= string.Empty是定义和初始化放在了一起它实际是等价于string str=null;str=""; 具体使用时,如果你确定在使用前会给str赋值就用string str=null,否则用string str= string.Empty,不然程序运行时可能会引发空指针异常 阅读全文
posted @ 2011-11-16 12:30 MyAppZone7797 阅读(140) 评论(0) 推荐(0) 编辑