Sample code is one of the most useful tools for learning about programming. There seem to be many sources on the web for iPhone sample code, but some are harder to find than others. Here's a collection of links I've found so far. Does anyone know of some other sources for iPhone sample code?
Apple Sample Code: http://developer.apple.com/iphone/library/navigation/SampleCode.html
Apps Amuck 31 days: http://appsamuck.com/
Beginning iPhone Development: http://www.iphonedevbook.com/
Chris Software: http://chris-software.com/index.php/dev-center/
Dave DeLong's downloads: http://www.davedelong.com/downloads
Delicious.com: http://delicious.com/alblue/iphone http://web.me.com/smaurice/AppleCoder/iPhone%5FOpenGL/Archive.htmlhttp://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html
iPhone Developer's Cookbook: http://code.google.com/p/cookbooksamples/downloads/list
iPhone SDK source code: http://sites.google.com/site/iphonesdktutorials/sourcecode
Joe Hewitt three20: http://joehewitt.com/post/the-three20-project/
Stanford iPhone code: http://www.stanford.edu/class/cs193p/cgi-bin/downloads.php
WiredBob (TabBar in Detail view): http://www.wiredbob.com/blog/2009/4/20/iphone-tweetie-style-navigation-framework.html
8 down voteaccepted
| I find that the most useful sample code for me comes with some explanation of what's going on. I prefer a well explained blog post to just source code. Here's some I like BYU Cocoaheads Big Nerd Ranch http://weblog.bignerdranch.com/ Cocoa with love Will Shipley These are just sample code: Google Code: http://code.google.com/hosting/search?q=label%3Aiphone iPhone Cool Projects http://www.apress.com/book/view/143022357x iPhone Game Projects http://www.apress.com/book/downloadfile/4419 Learn Objective-C on the Mac |
I hope below collection would help:
1) Blogs on iPhone development:
http://iphonedevelopment.blogspot.com/
http://iphoneincubator.com/blog/
http://iphoneproghelp.blogspot.com/ (Programming Tutorial)
http://icodeblog.com/ (Programming Tutorial)
2) iPhone Source Codes:
http://www.theiphonedev.com/SourceCode/tabid/143/Default.aspx
3) Community:
4) News:
5) Jail breaking/Hacking:
6) Open source libraries & Applications:
http://www.codingventures.com/2008/12/useful-open-source-libraries-for-iphone-development/#more-43
Face Detection: http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en
Bar Code: http://stackoverflow.com/questions/838724/barcode-framework-for-the-iphone
Rating: http://github.com/eisernWolf/TouchCustoms
http://github.com/erica/iphone-3.0-cookbook-
http://stackoverflow.com/questions/200850/are-there-any-open-source-iphone-applications-around
http://www.opensourceresources.org/
http://www.raywenderlich.com/tag/sample-code
7) Topic-wise:
App Store: https://developer.apple.com/appstore/resources/approval/guidelines.html
GIF Support: http://stackoverflow.com/questions/1379818/how-can-i-make-an-animated-gif-with-the-iphone-sdk
In App Purchase: http://www.sixtemia.com/journal/2009/08/12/using-store-kit-framework/
IP Address: http://www.iphonedevsdk.com/forum/iphone-sdk-development/5293-get-current-ip-address.html
Page Curl Animation: http://stackoverflow.com/questions/2646714/what-iphone-os-apis-could-i-use-to-implement-a-transition-animation-similar-to-th
TTF Font http://github.com/zynga/FontLabel
Rotate Label: http://iphonedevelopment.blogspot.com/2009/12/better-two-finger-rotate-gesture.html
Speech Recognition: http://cmusphinx.sourceforge.net/
Operation & Thread: http://www.cimgf.com/2008/02/16/cocoa-tutorial-nsoperation-and-nsoperationqueue/
Web service: http://icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/
Code Analyzer: http://clang.llvm.org/StaticAnalysis.html
8) Game Development with Cocos2D:
http://code.google.com/p/cocos2d-iphone/
http://blog.sapusmedia.com/search/label/cocos2d
http://iphonesdkdev.blogspot.com/2009/01/xcode-template-for-cocos2d.html
http://monoclestudios.com/cocos2d_whitepaper.ht
http://lethain.com/entry/2008/oct/03/notes-on-cocos2d-iphone-development/
http://lethain.com/entry/2008/oct/20/touch-detection-in-cocos2d-iphone/
Open GL: http://web.me.com/smaurice/AppleCoder/iPhone_OpenGL/Archive.html
9) Drawing Chart & Graph
http://code.google.com/p/core-plot/
http://code.google.com/p/s7graphview/
http://github.com/duivesteyn-enterprises/deSimpleChart
http://www.rgraph.net/ (Will work on UIWebView only)
http://sebkade.wordpress.com/2010/05/06/basic-graph-class-for-iphone/ (a blog where demo is given to create a graph)
10) Map Kit
http://github.com/kishikawakatsumi/MapKit-Route-Directions
http://spitzkoff.com/craig/?p=65
11) Audio Streaming
http://code.google.com/p/indie1031/
http://cocoawithlove.com/2010/03/streaming-mp3aac-audio-again.html
http://code.google.com/p/audiostreamer-meta/
http://github.com/DigitalDJ/AudioStreamer
http://lists.apple.com/archives/coreaudio-api/2009/Jan//msg00143.html
12) Twitter
http://code.google.com/p/tweetphoto-api-objective-c/
http://tweetphoto-api-objective-c.googlecode.com/files/TweetPhoto.zip
13) Scroll View
http://github.com/andreyvit/ScrollingMadness
14) SQLITE:
http://code.google.com/p/sqlitepersistentobjects/
http://www.slideshare.net/360conferences/using-sqlite
15) Video:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/41322-convert-image-sequences-video.html
16) SCM:
http://iphonedevelopment.blogspot.com/2009/03/version-control-is-your-friend.html
http://developer.apple.com/tools/subversionxcode.html
http://stackoverflow.com/questions/431881/scm-for-xcode
http://www.covertapps.com/development/6-setting-up-your-xcode-scm-repositories
http://www.theapptree.com just got started but has a great Navigation and In App purchase sample.
Apple's sample code: http://developer.apple.com/SampleCode/
Here's my delicious list: http://delicious.com/alblue/iphone, including:
- http://web.me.com/smaurice/AppleCoder/iPhone_OpenGL/Archive.html
- http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html
down vote
| http://icodeblog.com/ has many useful tutorials |
The sample code from the book I co-wrote is also freely available: http://pragprog.com/titles/amiphd/source_code. Good luck!
yeah...
for introductory tutorials about iPhone Application Development, visit: http://msmonir.tech.officelive.com
Thank you.
출처 : http://blog.naver.com/senjuny?Redirect=Log&logNo=150099472295
'프로그래밍 > iOS' 카테고리의 다른 글
더 빠르게 HTTP 서버에서 이미지 다운로드하는 방법 (0) | 2011.05.21 |
---|---|
How to get root(key) window - 최상위 윈도우 알아내기 (0) | 2011.05.21 |
iphone에서 http 사용하기 (get/post) - 소스코드는 퍼왔습니다. (0) | 2011.05.21 |
카메라 연동 코드 (UIImagePickerController) (0) | 2011.05.21 |
화면의 가로보기/세로보기 설정 방법 (0) | 2011.05.20 |