IOS知识点汇总与项目搜集

1 变量声明
变量的声明与C语言一样,在变量名前加类型名

以下这些数据类型是从C语言中直接拿来使用的:

int n;
unsigned int n;
char n;
unsigned char n;
long n;
float n;
double n;

另外,Objective-C还扩展了一些数据类型,布尔类型用YES和NO来表示逻辑1和逻辑0

BOOL isOK = YES;
BOOL isBAD = NO;

Objective-C中的对象声明就是该对象的指针声明

NSString *string;
NSArray * array;
NSDictionary* dictinary;

2 类的声明和实现的区别

类的声明一般写在.h文件中,而实现则写在.m文件中。.h文件又称为接口文件,它只会规定一个类有哪些成员变量和成员函数,而不去具体实现它。这个.h文件一般由架构师来撰写。.m文件中具体实现类的成员函数,它往往由软件工程师负责。

3 新建对象和释放内存

生成一个对象,有两种方法:alloc+init系列和autorelease释放。
因为没有垃圾回收机制,Objective-C采用计数器的方式来管理内存,使用的时候要特别小心。

用retain方法对计数器加1,用release方法对计数器减1

3.1 alloc函数+init系列函数

初始化时,用alloc函数+init系列函数方法时,计数器的状态会被设为1,使用完毕后,务必记得要用release方法来释放内存。

NSArray *array = [[NSArray alloc] initWithObjects:@"a", @"b", @"c", nil];
// 对array的一些处理
[array release]; // 释放array的内存



用alloc函数+init系列函数的方法生成的对象也可以委托autorelease来释放。

NSArray *array = [[[NSArray alloc] initWithObjects:@"a", @"b", @"c", nil] autorelease];
3.2 autorelease释放

使用autorelease时,初始化对象的计数器值也被设为1。当达到autorelease的scope的时候,该对象就会收到一个release消息,这就实现了内存自动释放。

NSArray *array = [NSArray arrayWithObjects:@"A", @"B", @"C", nil];
3.3 数值
int i = 2
int i = 100000000;
float radius = 1.0f;
double diameter = 2 * M_PI * radius;
3.4 四则运算
num = 1 + 1;
num = 1 - 1;
num = 1 * 2;
num = 1 / 2;

求商的方法是这样的,如果被除数与除数都是整数,则计算结果是向下取整的整数(小数点后面的全部去掉)。

num = 1 / 2;  // 0

如果被除数与除数中有一个是小数,则计算结果不舍弃小数部分。

num = 1.0 / 2;    // 0.5
num = 1 / 2.0;    // 0.5
num = 1.0 / 2.0;  // 0.5

下面是求余:

// 求余
mod = 4 % 2;
3.5 自增和自减
// 自增
num++;
++num;
// 自减
num--;
--num;

同C语言中的自增和自减运算一样,如果单独使用则运算符放在左边和右边都一样,当在代数式和条件式中使用时,则要特别小心。请不清楚的读者网上搜索一下C语言的自增和自减的注意点。

4 字符串

4.1 字符串的表示

字符串使用NSString,用@”"来表示字符串。
NSString是只读的字符串。

NSString *string = @"Hello World!";

可修改的字符串要这样声明:

NSMutableString * string = [NSMutableString stringWithString:@"Hello World!"];
4.2 字符串操作
// 与字符串连接
NSMutableString * string = [NSMutableString stringWithString:@"aaa"];
NSString *joined = [string appendString:@"bbb"];
//字符串追加

NSMutableString *str=[[NSMutableStringalloc] initWithString:@"dd"];

str=[str stringByAppendingString:@"eee" ];
//字符串替换

NSString *str = @"Hello world!";



str =[str stringByReplacingOccurrencesOfString:"world" withString:"China"];







NSlog(@"Your String is = %@",str);

你将会看到输入Hello China
// 与数组连接

NSArray *array = [NSArray arrayWithObjects:@"a", @"b", @"c", nil]; NSString *joined = [array componentsJoinedByString:@","];

//分割数组

NSString * string = [NSMutableString stringWithString:@"aaa,bbb,ccc"];

NSArray *record = [string componentsSeparatedByString:@","];

 

// 字符串长度 int length = [@"abcdef" length];

 

//提取字串

NSString *string = [@"abcd" substringWithRange:NSMakeRange(0, 2)]; // ab

 

//搜索

NSString *string = @"abcd"; NSRange range = [string rangeOfString:@"cd"];

NSLog(@"%d:%d", range.location, range.length); //如果没有找到,则length = 0

 

//字符串转换为日期
NSDate *date1=[dateFormatter dateFromString:@"2010-3-3 11:00"];

 

//日期比较

 

首先,创建一个日期格式化对象:

NSDateFormatter *dateFormatter=[[NSDateFormatter alloc] init]; 
[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm"];

 

然后,创建了两个日期对象:

NSDate *date1=[dateFormatter dateFromString:@"2010-3-3 11:00"]; 
NSDate *date2=[dateFormatter dateFromString:@"2010-3-4 12:00"];

 

创建日期对象,是通过字符串解析的。

然后取两个日期对象的时间间隔:

NSTimeInterval time=[date2 timeIntervalSinceDate:date1];

这里的NSTimeInterval 并不是对象,是基本型,其实是double类型,是由c定义的:

typedef double NSTimeInterval;

再然后,把间隔的秒数折算成天数和小时数:

int days=((int)time)/(3600*24); 
int hours=((int)time)%(3600*24)/3600; 
NSString *dateContent=[[NSString alloc] initWithFormat:@"%i天%i小时",days,hours];

 字符串转换为整数

1 NSString *aNumberString = @"123";
2 int i = [aNumberString intValue];

 

dobule di = [aNumberString doubleValue]; //转换为双精度

整数转换为字符串

1 int aNumber = 123;
2 NSString *aString = [NSString stringWithFormat:@"%d", aNumber];

 


5 数组

5.1 声明
NSArray *array;
5.2 数组的生成
NSArray *array;
array = [NSArray arrayWithObjects:@"a", @"b", @"c", nil];
NSMutableArray *array = [NSMutableArray array]; // 声明可修改的数组同时对它赋值
5.3 数组元素的引用和赋值
// 元素的引用
[array objectAtIndex:0];
[array objectAtIndex:1];
// 赋值(NSMutableArray的实例)
[array removeObjectAtIndex:1]; // 删除一个元素
[array insertObject:@"1" atIndex:1]; // 在删除的地方插入一个元素
5.4 数组的长度
int array_num = [array count];

6 字典

6.1 声明
NSDictionary *dictinary;
dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
 @"value1",@"key1",
@"value2",@"key2",
nil,
];
NSMutableDictionary *dictionary = [NSMutableDictionary dictionary]; // 声明可修改的字典的同时对它赋值
6.2 字典元素的引用和赋值
//元素的引用
id val1 = [dictionary objectForKey:@"key1"];
id val2 = [dictionary objectForKey:@"key2"];
// 赋值(NSMutableDictionary的实例)
[dictionary setObject:@"value1" forKey:@"key1"];
6.3 字典的操作

・获得Key

NSArray *keys = [dictionary allkeys]

・获得值

NSArray *values = [dictionary allValues];

・删除Key(NSMutableDictionary的实例)

[dictionary removeObjectForKey:@"key1"];

7 控制语句

if语句
if ( 条件 ) {
}
if ~ else语句
if (条件) {
} else {
}
if ~ else if 语句
if ( 条件 ) {
} else if ( 条件 ) {
}
while语句
int i = 0;
while (i < 5) {
// 处理
i++;
}
for语句
for (int i = 0; i < 5; i++) {
//处理
}

8 函数定义

虽然大多数情况下是用类中的方法来定义函数,但也可以用C语言的函数定义方法。
另外,还有作为对现有类的扩张的方法,称之为Category。

@interface ClassA : NSObject {
NSString *name_;
}
@property (nonatomic, copy) NSString *name_;
@implementation ClassA
@synthesize name_
- (void) helloWorld:(NSString *)name {
NSLog(@"hello %@ world! from %@", name, self.name_);
}
@end

9 文件的输入输出

NSString *inputFilePath = [INPUTFILEPATH stringByExpandingTildeInPath];
NSString *outputFilePath = [OUTPUTFILEPATH stringByExpandingTildeInPath];
NSFileManager *fm = [NSFileManager defaultManager];
if ( ![fm fileExistsAtPath:outputFilePath] ) {
[fm createFileAtPath:outputFilePath contents:nil attributes:nil];
}
NSFileHandle *input = [NSFileHandle fileHandleForReadingAtPath:inputFilePath];
NSFileHandle *output = [NSFileHandle fileHandleForWritingAtPath:outputFilePath];
@try {
NSData *data;
while( (data = [input readDataOfLength:1024]) && 0 < [data length] ){
[output writeData: data];
}
} @finally {
[input closeFile];
[output closeFile];
}

以下语法特性,读者如果知道的话会更好:

高速枚举

使用NSArray或NSDictionar的高速枚举法可以简单地枚举元素

NSArray *array = [NSArray arrayWithObjects:@"A", @"B", @"C", nil];
for (id i in array) {
//一些处理
}
NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
 @"value1", @"key1",
@"value2", @"key2",
@"value3", @"key3",
nil
];
// 用key来做循环的场合
for (id i in [dictionary keyEnumerator]) {
// 一些处理
}
// 用值来做循环的场合
for (id i in [dictionary objectEnumerator]) {
// 一些处理
}

用临时变量id来做是可以的,不过指明Key的类型这种方法也不错。

for (NSString *k in [dictionary keyEnumerator]) {
 // 处理
}

Category
Category可以在已有的类中追加一个方法

@interface NSString (Decorate)
// 定义属于Category的方法
- (NSString *) decorateWithString:(NSString *)string;
@end
@implementation NSString (Decorate)
- (NSString *) decorateWithString:(NSString *)string {
return [NSString stringWithFormat:@"%@%@%@", string, self, string];
}
@end
NSLog(@"test: %@",[@"[MSG]" decorateWithString:@"**"]); // **[MSG]**

Protocol
类如果声明为符合某种Protocol的话,就要按照Protocol所规定的方法来实现这个类。Protocol和Java中的Interface类似。
Property
Property提供了访问类中成员变量的一种方法。
虽然在使用的时候你应该知道更多关于它的知识,但在这里我们只举一个例子。

@property (nonatomic, retain) NSArray *array_;

如果要对像上面那样声明retain的property赋值的话,如果不通过accessor来访问,那么就无法retain。

- (id)initWithParam:(NSArray *)array {
if (self = [super init]) {
array_ = array; // 无法retain
self.array_ = array; // 可以retain
}
return self;
}
- (void)dealloc {
[array_ release];
[super dealloc];
}

由于该状态并不是retain,外部进程可能会对其进行释放,这样就会出现EXC_BAD_ACCESS或者double free的错误发生。


——————————————————————————————————————————————————————————————————————————




如何用Facebook graphic api上传视频:http://developers.facebook.com/blog/post/532/
Keychain保存数据封装:https://github.com/carlbrown/PDKeychainBindingsController
对焦功能的实现:http://www.clingmarks.com/?p=612
自定义圆角Switch按件:https://github.com/domesticcatsoftware/DCRoundSwitch
弹出窗口For iphone and ipad:https://github.com/chrismiles/CMPopTipView
KVO详解:http://nachbaur.com/blog/back-to-basics-using-kvo
图片浏览:https://github.com/bdewey/Pholio
Dropbox实例:https://github.com/bdewey/dropvault
当地天气预报实例:https://github.com/aspitz/WxHere
可伸缩的toolBar实例:https://github.com/aspitz/ToolDrawer
app资源保护相关:http://aptogo.co.uk/2010/07/protecting-resources/
cocos2d中也可用UIScrollView,UITableView,UIGestureRecognizers

https://github.com/jerrodputman/CCKit

http://www.tinytimgames.com/2011/08/05/introducing-cckit/

UITableView两级树型结构:http://www.codeproject.com/KB/iPhone/collapsabletableview.aspx
iOS文档导入导出:http://mobiforge.com/developing/story/importing-exporting-documents-ios
CoreAnimation Demo:https://github.com/bobmccune/Core-Animation-Demos
CoreAnimation Dev:Part 1 – Frame By Frame Sprites With Core AnimationPart 2 – Space Time

 

Part 3 – Scrolling Hell

Part 4 – Parallax Scrolling

iOS jabber聊天应用开发:客户端开发

http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-interface-setup/

http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-custom-chat-view-and-emoticons/

iOS jabber聊天应用开发:服务器搭建http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-server-setup/
iOS快速入门:http://www.jonathanhui.com/ios
objc学习:

http://www.jonathanhui.com/objective-c

https://github.com/carlbrown/PDKeychainBindingsController

 https://github.com/ldandersen/scifihifi-iphone

KeyChain封装,安全存数据:

http://developer.apple.com/library/mac/#documentation/Security/Conceptual/keychainServConcepts/02concepts/concepts.html

http://developer.apple.com/library/ios/#samplecode/GenericKeychain/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007797-Intro-DontLinkElementID_2

声音相关:http://purplelilgirl.tumblr.com/post/9377269385/making-that-talking-apphttp://dirac.dspdimension.com/Dirac3_Technology_Home_Page/Dirac3_Technology.html
弹珠游戏:http://www.crowsoft.com.ar/wordpress/?p=19
spring board类UI:https://github.com/rigoneri/myLauncher
MacOS&iOS upnp:http://code.google.com/p/upnpx
ios block learn:http://ios-blog.co.uk/iphone-development-tutorials/programming-with-blocks-an-overview/https://github.com/zwaldowski/BlocksKit
弹出框中输入用户名与密码:https://github.com/enormego/EGOTextFieldAlertView
jailbreak iphone发送sms:http://code.google.com/p/iphone-sms/
搜索itune里app的url scheme:https://github.com/Zwapp/schemes-scanner
横竖屏切换自动调整位置:https://github.com/michaeltyson/TPMultiLayoutViewController
键盘出现与消失view自动移动避免遮挡:

https://github.com/michaeltyson/TPKeyboardAvoiding

http://atastypixel.com/blog/a-drop-in-universal-solution-for-moving-text-fields-out-of-the-way-of-the-keyboard/

iOS类似firebug的web调试工具:http://phonegap.github.com/weinre/
一个UI开源库tapkulibrary,集成了calendar,coverflow

https://github.com/devinross/tapkulibrary

http://maniacdev.com/2010/09/tapku-an-amazing-open-source-ios-interface-library/

多列的TableViewhttps://github.com/Xenofex/MultiColumnTableViewForiOS
mac的一个桌面程序,开源的http://homepage.mac.com/nathan_day/pages/popup_dock.xml

PSTreeGraph for iPad

https://github.com/epreston/PSTreeGraph
文件预览like QLPreviewControllerhttps://github.com/rob-brown/RBFilePreviewer
Interface Builder中用自定义字体解决方案https://github.com/0xced/FontReplacer
有shader的UILabehttps://github.com/nicklockwood/FXLabel
GCD学习

http://blog.slaunchaman.com/2011/02/28/cocoa-touch-tutorial-using-grand-central-dispatch-for-asynchronous-table-view-cells/

http://www.raywenderlich.com/4295/multithreading-and-grand-central-dispatch-on-ios-for-beginners-tutorial

 

https://github.com/SlaunchaMan/GCDExample

让UITableView中有search功能教程http://www.edumobile.org/iphone/miscellaneous/how-to-search-option-enable-in-tableview-in-iphone/
iPad阅读器开发

http://mobile.tutsplus.com/tutorials/iphone/building-an-ipad-reader-for-war-of-the-worlds/

http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-using-a-slider-to-scrub-a-pdf-reader/

 

http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-adding-a-table-of-contents-to-an-ipad-reader/

ipad UI 24个免费资源http://www.cocoachina.com/applenews/devnews/2011/0915/3237.html
TableView的扩展https://github.com/OliverLetterer/UIExpandableTableView
Orge3D for iOS

http://code.google.com/p/gamekit/

http://www.tonybhimani.com/2011/07/09/ogre3d-sdk-1-7-3-for-apple-iphone-ios-howto/

文档比Three20更全的类Three20库https://github.com/jverkoey/nimbus
iOS Boilerplate一个库集合,方便开发http://iosboilerplate.com/https://github.com/gimenete/iOS-boilerplate
openCV for iOShttp://code.google.com/p/edgy-camera-ios/https://github.com/BloodAxe/opencv-ios-template-project

 

https://github.com/BloodAxe/OpenCV-iOS-build-script

http://computer-vision-talks.com/2011/02/building-opencv-for-iphone-in-one-click/

http://computer-vision-talks.com/2011/01/using-opencv-in-objective-c-code/

http://computer-vision-talks.com/2011/08/a-complete-ios-opencv-sample-project/

PageCurl for iOShttps://github.com/xissburg/XBPageCurlhttps://github.com/raweng/FlipView

 

https://github.com/Split82/HMGLTransitions

http://api.mutado.com/mobile/paperstack/

iOS PDF实例http://www.cocoachina.com/bbs/read.php?tid=75173https://github.com/vfr/Reader
Core Animationhttp://nachbaur.com/blog/core-animation-part-1http://nachbaur.com/blog/core-animation-part-2

 

http://nachbaur.com/blog/core-animation-part-3

http://nachbaur.com/blog/core-animation-part-4

Core Data注意的地方

http://nachbaur.com/blog/smarter-core-data

http://iphonedevelopment.blogspot.com/2009/09/core-data-migration-problems.html

GCD

http://nachbaur.com/blog/using-gcd-and-blocks-effectively

http://deusty.blogspot.com/2011/01/multi-core-ios-devices-are-coming-are.html

MKMapView zoom level

http://troybrant.net/blog/2010/01/mkmapview-and-zoom-levels-a-visual-guide/

http://troybrant.net/blog/2010/01/set-the-zoom-level-of-an-mkmapview/

HTML parser

http://www.cocoanetics.com/2011/09/taming-html-parsing-with-libxml-1/

https://github.com/topfunky/hpple

 

https://github.com/zootreeves/Objective-C-HMTL-Parser

openGLEShttp://www.ityran.com/portal.php
Charts绘制开源库

http://code.google.com/p/core-plot/

https://github.com/ReetuRaj/MIMChart-Library   说明文档

apple 私有api文档http://hexorcist.com/private_frameworks/html/main.html
类safari的切换页面库https://github.com/100grams/HGPageScrollView
自定义Slider组件https://github.com/buildmobile/iosrangeslideriOS Range Slider Part 1

 

iOS Range Slider Part 2

一些自定义组件:自定义UIAlertView自定义BadgeView

 

自定义数字键盘

QR Encoder二维码识别https://github.com/jverkoey/ObjQREncoder
xml解析库https://github.com/ZaBlanc/RaptureXML
wapper map for iOShttps://github.com/yinkou/OCMapView
iOS unitityhttps://github.com/ZaBlanc/iBoosthttps://github.com/escoz/QuickDialog/
sockethttp://code.google.com/p/cocoaasyncsocket/
custom camera view

https://github.com/pmark/Helpful-iPhone-Utilities

http://www.codza.com/custom-uiimagepickercontroller-camera-view

本地天气demohttp://www.cocoachina.com/bbs/read.php?tid-72558-fpage-3.html
浏览器飞行动画http://www.cocoachina.com/downloads/video/2011/1002/3313.html
切换动画demohttp://www.cocoachina.com/bbs/read.php?tid-76431-page-1.html
Automatic Reference Countinghttp://www.mikeash.com/pyblog/friday-qa-2011-09-30-automatic-reference-counting.html
voip for ios development

http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312

 

http://code.google.com/p/siphon/

图像处理http://www.cocoachina.com/downloads/code/2011/1009/3335.html
脚本自动生成push notification所需证书https://github.com/jprichardson/GeneratePushCerts
自定义ActivityIndicatorhttps://github.com/hezi/HZActivityIndicatorView
开源库for iosboost for iphoneffmpeg for iphone

 

opencore amr for iphone

iOS网络相关bonjourASIHttpRequest

 

CocoasyncSocket



如何用Facebook graphic api上传视频:http://developers.facebook.com/blog/post/532/
Keychain保存数据封装:https://github.com/carlbrown/PDKeychainBindingsController
对焦功能的实现:http://www.clingmarks.com/?p=612
自定义圆角Switch按件:https://github.com/domesticcatsoftware/DCRoundSwitch
弹出窗口For iphone and ipad:https://github.com/chrismiles/CMPopTipView
KVO详解:http://nachbaur.com/blog/back-to-basics-using-kvo
图片浏览:https://github.com/bdewey/Pholio
Dropbox实例:https://github.com/bdewey/dropvault
当地天气预报实例:https://github.com/aspitz/WxHere
可伸缩的toolBar实例:https://github.com/aspitz/ToolDrawer
app资源保护相关:http://aptogo.co.uk/2010/07/protecting-resources/
cocos2d中也可用UIScrollView,UITableView,UIGestureRecognizers

https://github.com/jerrodputman/CCKit

http://www.tinytimgames.com/2011/08/05/introducing-cckit/

UITableView两级树型结构:http://www.codeproject.com/KB/iPhone/collapsabletableview.aspx
iOS文档导入导出:http://mobiforge.com/developing/story/importing-exporting-documents-ios
CoreAnimation Demo:https://github.com/bobmccune/Core-Animation-Demos
CoreAnimation Dev:Part 1 – Frame By Frame Sprites With Core AnimationPart 2 – Space Time

 

Part 3 – Scrolling Hell

Part 4 – Parallax Scrolling

iOS jabber聊天应用开发:客户端开发

http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-interface-setup/

http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-custom-chat-view-and-emoticons/

iOS jabber聊天应用开发:服务器搭建http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-server-setup/
iOS快速入门:http://www.jonathanhui.com/ios
objc学习:

http://www.jonathanhui.com/objective-c

https://github.com/carlbrown/PDKeychainBindingsController

 https://github.com/ldandersen/scifihifi-iphone

KeyChain封装,安全存数据:

http://developer.apple.com/library/mac/#documentation/Security/Conceptual/keychainServConcepts/02concepts/concepts.html

http://developer.apple.com/library/ios/#samplecode/GenericKeychain/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007797-Intro-DontLinkElementID_2

声音相关:http://purplelilgirl.tumblr.com/post/9377269385/making-that-talking-apphttp://dirac.dspdimension.com/Dirac3_Technology_Home_Page/Dirac3_Technology.html
弹珠游戏:http://www.crowsoft.com.ar/wordpress/?p=19
spring board类UI:https://github.com/rigoneri/myLauncher
MacOS&iOS upnp:http://code.google.com/p/upnpx
ios block learn:http://ios-blog.co.uk/iphone-development-tutorials/programming-with-blocks-an-overview/https://github.com/zwaldowski/BlocksKit
弹出框中输入用户名与密码:https://github.com/enormego/EGOTextFieldAlertView
jailbreak iphone发送sms:http://code.google.com/p/iphone-sms/
搜索itune里app的url scheme:https://github.com/Zwapp/schemes-scanner
横竖屏切换自动调整位置:https://github.com/michaeltyson/TPMultiLayoutViewController
键盘出现与消失view自动移动避免遮挡:

https://github.com/michaeltyson/TPKeyboardAvoiding

http://atastypixel.com/blog/a-drop-in-universal-solution-for-moving-text-fields-out-of-the-way-of-the-keyboard/

iOS类似firebug的web调试工具:http://phonegap.github.com/weinre/
一个UI开源库tapkulibrary,集成了calendar,coverflow

https://github.com/devinross/tapkulibrary

http://maniacdev.com/2010/09/tapku-an-amazing-open-source-ios-interface-library/

多列的TableViewhttps://github.com/Xenofex/MultiColumnTableViewForiOS
mac的一个桌面程序,开源的http://homepage.mac.com/nathan_day/pages/popup_dock.xml

PSTreeGraph for iPad

https://github.com/epreston/PSTreeGraph
文件预览like QLPreviewControllerhttps://github.com/rob-brown/RBFilePreviewer
Interface Builder中用自定义字体解决方案https://github.com/0xced/FontReplacer
有shader的UILabehttps://github.com/nicklockwood/FXLabel
GCD学习

http://blog.slaunchaman.com/2011/02/28/cocoa-touch-tutorial-using-grand-central-dispatch-for-asynchronous-table-view-cells/

http://www.raywenderlich.com/4295/multithreading-and-grand-central-dispatch-on-ios-for-beginners-tutorial

 

https://github.com/SlaunchaMan/GCDExample

让UITableView中有search功能教程http://www.edumobile.org/iphone/miscellaneous/how-to-search-option-enable-in-tableview-in-iphone/
iPad阅读器开发

http://mobile.tutsplus.com/tutorials/iphone/building-an-ipad-reader-for-war-of-the-worlds/

http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-using-a-slider-to-scrub-a-pdf-reader/

 

http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-adding-a-table-of-contents-to-an-ipad-reader/

ipad UI 24个免费资源http://www.cocoachina.com/applenews/devnews/2011/0915/3237.html
TableView的扩展https://github.com/OliverLetterer/UIExpandableTableView
Orge3D for iOS

http://code.google.com/p/gamekit/

http://www.tonybhimani.com/2011/07/09/ogre3d-sdk-1-7-3-for-apple-iphone-ios-howto/

文档比Three20更全的类Three20库https://github.com/jverkoey/nimbus
iOS Boilerplate一个库集合,方便开发http://iosboilerplate.com/https://github.com/gimenete/iOS-boilerplate
openCV for iOShttp://code.google.com/p/edgy-camera-ios/https://github.com/BloodAxe/opencv-ios-template-project

 

https://github.com/BloodAxe/OpenCV-iOS-build-script

http://computer-vision-talks.com/2011/02/building-opencv-for-iphone-in-one-click/

http://computer-vision-talks.com/2011/01/using-opencv-in-objective-c-code/

http://computer-vision-talks.com/2011/08/a-complete-ios-opencv-sample-project/

PageCurl for iOShttps://github.com/xissburg/XBPageCurlhttps://github.com/raweng/FlipView

 

https://github.com/Split82/HMGLTransitions

http://api.mutado.com/mobile/paperstack/

iOS PDF实例http://www.cocoachina.com/bbs/read.php?tid=75173https://github.com/vfr/Reader
Core Animationhttp://nachbaur.com/blog/core-animation-part-1http://nachbaur.com/blog/core-animation-part-2

 

http://nachbaur.com/blog/core-animation-part-3

http://nachbaur.com/blog/core-animation-part-4

Core Data注意的地方

http://nachbaur.com/blog/smarter-core-data

http://iphonedevelopment.blogspot.com/2009/09/core-data-migration-problems.html

GCD

http://nachbaur.com/blog/using-gcd-and-blocks-effectively

http://deusty.blogspot.com/2011/01/multi-core-ios-devices-are-coming-are.html

MKMapView zoom level

http://troybrant.net/blog/2010/01/mkmapview-and-zoom-levels-a-visual-guide/

http://troybrant.net/blog/2010/01/set-the-zoom-level-of-an-mkmapview/

HTML parser

http://www.cocoanetics.com/2011/09/taming-html-parsing-with-libxml-1/

https://github.com/topfunky/hpple

 

https://github.com/zootreeves/Objective-C-HMTL-Parser

openGLEShttp://www.ityran.com/portal.php
Charts绘制开源库

http://code.google.com/p/core-plot/

https://github.com/ReetuRaj/MIMChart-Library   说明文档

apple 私有api文档http://hexorcist.com/private_frameworks/html/main.html
类safari的切换页面库https://github.com/100grams/HGPageScrollView
自定义Slider组件https://github.com/buildmobile/iosrangeslideriOS Range Slider Part 1

 

iOS Range Slider Part 2

一些自定义组件:自定义UIAlertView自定义BadgeView

 

自定义数字键盘

QR Encoder二维码识别https://github.com/jverkoey/ObjQREncoder
xml解析库https://github.com/ZaBlanc/RaptureXML
wapper map for iOShttps://github.com/yinkou/OCMapView
iOS unitityhttps://github.com/ZaBlanc/iBoosthttps://github.com/escoz/QuickDialog/
sockethttp://code.google.com/p/cocoaasyncsocket/
custom camera view

https://github.com/pmark/Helpful-iPhone-Utilities

http://www.codza.com/custom-uiimagepickercontroller-camera-view

本地天气demohttp://www.cocoachina.com/bbs/read.php?tid-72558-fpage-3.html
浏览器飞行动画http://www.cocoachina.com/downloads/video/2011/1002/3313.html
切换动画demohttp://www.cocoachina.com/bbs/read.php?tid-76431-page-1.html
Automatic Reference Countinghttp://www.mikeash.com/pyblog/friday-qa-2011-09-30-automatic-reference-counting.html
voip for ios development

http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312

 

http://code.google.com/p/siphon/

图像处理http://www.cocoachina.com/downloads/code/2011/1009/3335.html
脚本自动生成push notification所需证书https://github.com/jprichardson/GeneratePushCerts
自定义ActivityIndicatorhttps://github.com/hezi/HZActivityIndicatorView
开源库for iosboost for iphoneffmpeg for iphone

 

opencore amr for iphone

iOS网络相关bonjourASIHttpRequest

 

CocoasyncSocket

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值