iPhone SDK Examples

by cplus98 - 6월 15, 2009
Article

Logging
In Xcode, click Run > Console to see NSLog statements.
NSLog(@”log: %@ “, myString); NSLog(@”log: %f “, myFloat); NSLog(@”log: %i “, myInt);

Display Images
Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.
CGRect myImageRect = CGRectMake(0.0f, 0.0f, 320.0f, 109.0f); UIImageView *myImage = [[UIImageView alloc] initWithFrame:myImageRect]; [...]

0
Tags: ,

XML parser with iPhone

by cplus98 - 5월 20, 2009
iPhone Development

iPhone에서 제공하는 xml 파서
해더파일 설정 및 라이브러리 설정 방법
http://cocoawithlove.com/2008/10/using-libxml2-for-parsing-and-xpath.html

0

Cocos 2D 관련 링크들

by cplus98 - 4월 8, 2009
iPhone Development

Google code - Project Home
http://code.google.com/p/cocos2d-iphone/
Monocle studios - Cocos2d White paper
http://monoclestudios.com/cocos2d_whitepaper.html
Xcode Template
http://iphonesdkdev.blogspot.com/2009/01/xcode-template-for-cocos2d.html
Google code - Chipmunk
http://code.google.com/p/chipmunk-physics/
Chipmunk Dynamics
http://files.slembcke.net/chipmunk/chipmunk-docs.html
Etc.
http://groups.google.com/group/cocos2d-iphone-discuss/web/sample-games?pli=1

0
Tags: ,