ASIHTTPRequest 详解
2012-05-19ASIHTTPRequest 是一款极其强劲的 HTTP 访问开源项目。让简单的 API 完成复杂的功能,如:异步请求,队列请求,GZIP 压缩,缓存,断点续传,进度跟踪,上传文件,HTTP 认证。在新的版本中
ASIHTTPRequest 是一款极其强劲的 HTTP
iOS framework 制作教程
2012-05-181.打开Xcode创建一个“Cocoa Touch Static Library”工程,并删除现有的target.
2.右键project选择添加New Target,在弹出的窗口中找到Cocoa ,在Cocoa右侧窗口中选择“Loadable Bundle”。
iPhoto删除动画
2012-05-18简直太帅了!!
CGPoint fromPoint = self.imageView.frame.origin; CGPoint toPoint = CGPointMake(200, 350); UIBezierPath *movePath = [UIBezierPath bezierPath]; [movePath moveToPoint:fromPoint]; [movePath addQuadCurveToPoint:toPoint
核心动画 CoreAnimation
2012-05-18核心动画 CoreAnimation
第一章 核心动画概念
核心动画,开发人员可以为他们的应用创建动态用户界面,而无需使用低级别的图形 API,如 OpenGL
Core animation简介
2012-05-181. 简介
Core animation 是以objc语言封装的一套图形渲染,投影及动画的库的集合。
Core animation 使创建用户界面变得非常容易,通过以下方法:
1. 使用简单的编程方法实现高性能的合成
iOS开发 – 动态添加按钮
2012-05-18UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [button setFrame:CGRectMake(100, 100, 100, 40)]; [button setTitle:@"弹出窗口" forState:UIControlStateNormal]; [button addTarget:self action:@selector(alertButtonClick:)
iOS开源项目汇总
2012-05-18UI界面类项目:
Panoramagl —— 720全景展示
Panorama viewer library for iPhone, iPad and iPod touch
网络编程 – 检查网络
2012-05-18Reachability是Apple提供的示例代码,在xcode的developer document中能找到。将Reachability.h 和 Reachability.m添加到工程,将SystemConfiguration.framework 添加进工程。
Reachability.h 定义了三种网络状态:
iPhone开发入门 — Objective-C 基础(2)
2012-05-17interface
@interface Shape : NSObject { @private NSString *color; CGPoint *position; } -(void)setColor:(NSString *)aColor; -(void)drawShape; @endclass
iPhone开发入门 — Objective-C 基础(1)
2012-05-16Hello World
int main(int argc, char*argv[]) { NSLog(@"Hello World!"); return 0; }
基本数据类型
int, float, double, charid