原文来自:http://www.raywenderlich.com/tutorials
iPhone Tutorials
This site contains a ton of fun tutorials – so many that they were becoming hard to find! So I put together this little page to help everyone quickly find the tutorial they’re looking for. Hope you enjoy! :]
Beginning iPhone Programming
If you’re completely new to iPhone programming, start here! First there’s a tutorial series that will walk you through the process of creating an iPhone app from start to finish – using the most common APIs that almost every app uses. Next there’s a tutorial about memory management – the area where beginners most often get confused about!
- How To Create a Simple iPhone App Tutorial: 1/3
- How To Create a Simple iPhone App Tutorial: 2/3
- How To Create a Simple iPhone App Tutorial: 3/3
- Memory Management in Objective-C Tutorial
- How To Debug Memory Leaks with XCode and Instruments Tutorial
- Using Properties in Objective-C Tutorial
Beginning Game Programming
If you want to make games on the iPhone, the easiest way by far is to use the Cocos2D iPhoneframework! These tutorials will help get you started by showing you how to make some simple games and solve common problems.
In addition to these tutorials, you might be interested in the Cocos2D book by Rod Strougo and myself.
- How To Make A Simple iPhone Game with Cocos2D
- Rotating Turrets: How To Make A Simple iPhone Game with Cocos2D Part 2
- Harder Monsters and More Levels: How To Make A Simple iPhone Game with Cocos2D Part 3
- How To Make a Tile Based Game with Cocos2D
- Collisions and Collectables: How To Make a Tile Based Game with Cocos2D Part 2
- How To Use Animations and Sprite Sheets in Cocos2D
- How To Make a Space Shooter iPhone Game
- How To Create a HUD Layer with Cocos2D
- How To Make a 2.5D Game With Unity Tutorial: Part 1
- How To Make a 2.5D Game With Unity Tutorial: Part 2
Intermediate and Advanced Game Programming
If you’ve finished the Beginning Game Programming tutorials and are itching for some more, check out these tutorials for more advanced techniques!
- How To Create Buttons in Cocos2D: Simple, Radio, and Toggle
- How To Create and Optimize Sprite Sheets in Cocos2D with Texture Packer and Pixel Formats
- How To Drag and Drop Sprites with Cocos2D
- How To Create A Mole Whacking Game With Cocos2D: Part 1/2
- How To Create A Mole Whacking Game With Cocos2D: Part 2/2
- Introduction to Augmented Reality on the iPhone
- How To Create Dynamic Textures with CCRenderTexture
- How To Create A Game Like Tiny Wings Part 1
- How To Create A Game Like Tiny Wings Part 2
- How To Use SpriteHelper and LevelHelper Tutorial
- How To Mask a Sprite with Cocos2D 1.0
- How To Mask a Sprite with Cocos2D 2.0
- How To Integrate Cocos2D and UIKit
- OpenGL ES 2.0 for iPhone Tutorial
- OpenGL ES 2.0 for iPhone Tutorial Part 2: Textures
Game Physics
It turns out there are some great libraries available out there that you can use to easily add physics to your games – without having to be a math expert! These tutorials will show you how to get started with these libraries so you can use them to create amazing effects in your games!
- Intro to Box2D with Cocos2D Tutorial
- How To Create a Simple Breakout Game with Box2D and Cocos2D Tutorial: Part 1/2
- How To Create a Simple Breakout Game with Box2D and Cocos2D Tutorial: Part 2/2
- How To Use Box2D for Just Collision Detection
- How To Create A Simple iPhone Game with Chipmunk Physics Tutorial
- Intermediate Box2D: Physics, Forces, Ray Casts, and Sensors
- How To Make a Catapult Shooting Game with Cocos2D and Box2D Part 1
- How To Make a Catapult Shooting Game with Cocos2D and Box2D Part 2
Other Game Programming Topics
While we’re on the topic of game programming, here are a few posts with some tips and tricks for game developers.
- 5 Things I Learned Making My First iPhone Game
- How To Generate Game Tiles with Python Imaging Library
- How To Host a Beta Test for your iPhone App
- A n00bs Guide to Making a Beta Signup Form with PHP and WordPress
Introducing VickiWenderlich.com: Free Art and Artist Tutorials
Saving and Loading Data
Almost every app needs to save and load data on the iPhone – and there are many different ways to do so. In these tutorials, you can get hands-on experience with many of the most common methods.
- How To Choose the Best XML Parser for your iPhone Project
- How to Read and Write XML Documents with GDataXML
- SQLite 101 for iPhone Developers: Creating and Scripting
- SQLite 101 for iPhone Developers: Making Our App
- Core Data Tutorial: Getting Started
- Core Data Tutorial: How To Preload and Import Existing Data
- Core Data Tutorial: How to use NSFetchedResultsController
- How to Save Your App Data with NSCoding and NSFileManager
- How to Integrate iTunes File Sharing with your iOS App
- How to Import and Export App Data via Email in your iOS App
Graphics and Animation
In order to be successful on the App Store these days, your app needs to look good. Here are a few tutorials that you can use to up the quality level of your apps, and your gain mad skills with graphics and animation programming.
- Core Graphics 101: Lines, Rectangles, and Gradients
- Core Graphics 101: Shadows and Gloss
- Core Graphics 101: Arcs and Paths
- Core Graphics 101: Glossy Buttons
- Core Graphics 101: Patterns
- How to use UIView Animation Tutorial
- Introduction to CALayers Tutorial
- How to Write a Custom Image Picker like UIImagePicker
- How to Make a Custom UIView: a 5-star Rating View
- Beautiful Table View Helper Class
- How To Create a Simple Magazine App with Core Text
Network Programming
You can take your app to the next level by integrating with a server-back end or allowing networking between devices. These tutorials show you how!
- How To Make a Simple Multiplayer Game with Game Center Tutorial: Part 1/2
- How To Make a Simple Multiplayer Game with Game Center Tutorial: Part 2/2
- Apple Push Notification Services Tutorial: Part 1/2
- Apple Push Notification Services Tutorial: Part 2/2
- How To Write A Simple PHP/MySQL Web Service for an iOS App
- How To Write An iOS App That Uses A Web Service
- How To Create A Socket Based iPhone App and Server
- How To Make a Multiplayer iPhone Game Hosted on your Own Server Part 1
- How To Make a Multiplayer iPhone Game Hosted on your Own Server Part 2
Making Money
There are certain technologies and techniques you can use in your apps that can directly help you make ‘mo money! And although money can’t buy happiness, you gotta pay for your beer somehow amirite?
- Introduction to In-App Purchases
- How To Integrate iAd into Your iPhone App
- How To Localize an iPhone App Tutorial
Audio
When I first started iOS programming, I knew a WAV file played sounds and that was about it. These posts explain a lot about audio files and formats, and explain how you can play audio in your apps.
- Audio 101 for iPhone Developers: File and Data Formats
- Audio 101 for iPhone Developers: Converting and Recording
- Audio 101 for iPhone Developers: Playing Audio Programatically
iPad Development
If you know how to program for the iPhone, it’s a simple matter to program for the iPad as well! These tutorials walk you through some of the differences and help get you started with some of the new APIs available on the iPad.
- iPad for iPhone Developers 101: UISplitView Tutorial
- iPad for iPhone Developers 101: UIPopoverController Tutorial
- iPad for iPhone Developers 101: Custom Input View Tutorial
- How to Port an iPhone Application to the iPad
3rd Party Libraries
There are a lot of third party APIs and SDKs you might want to include in your apps. These tutorials cover a few of them and show you how to get started.
- How to Post on Facebook with your iPhone App
- Hot to Use Facebook’s New Graph API from your iPhone App
- How to Get a User Profile with Facebook’s New Graph API
- How to Post to a User’s Wall, Upload Photos, and Add a Like Button from your iPhone App
- Introduction to Three20
- How to Use the Three20 Photo Viewer
- How to Translate Text with Google Translate and JSON on the iPhone
- How To Make A Simple RSS Reader iPhone App Tutorial
- Unit Testing in Xcode 4 Quick Start Guide
Training and Announcements
From time to time I announce upcoming training, books, and other types of announcements from this site. Here’s the news so far!
- Introducing Tom the Turret Cocos2D Sample Game
- Upcoming Class: iOS Programming 101
- Cocos2D Book and 360iDev
- iPhone 101 for Baltimore Developers
- Beginner iPhone Class Available
- Upcoming Workshop: Cocos2D via Minigames
- Why I’m Ditching iOS and Becoming An Android Developer (April Fools Joke!)
- Cocos2D Book Giveaway (prerelease)
- Cocos2D Book Giveaway Winner (prerelease)
- Looking For Tutorial Writers
- June Workshop: Cocos2D via Minigames
- Cocos2D via Minigames Workshop Update
- Space Game Starter Kit Update
- Learning Cocos2D Book Giveaway (post release)
- Learning Cocos2D Book Giveaway Winners! (post release)
- Space Game Starter Kit Now Available!
- Upcoming Talks and Workshops
Other
There’s always something that doesn’t fit anywhere else! Here’s a hodgepodge of other posts and tutorials you may find interesting.
- Multithreading and Grand Central Dispatch on iOS for Beginners Tutorial
- How To Make An Interface with Horizontal Tables Like The Pulse News App Part 1
- How To Make An Interface with Horizontal Tables Like The Pulse News App Part 2
- Introduction to MapKit on iOS Tutorial
- iOS Code Signing: Under The Hood
- How to Autocomplete with Custom Values
- Web Design: Drinking from a Firehose
- What is this Blog About?
- The iPad SDK and NDA
- My Favorite Mac Applications
- How to Move Your WordPress Blog to Linode
Where To Go From Here?
If there’s something you’re interested in learning something that isn’t here, suggest a tutorial! Every week I’ll take the best suggestions and put a vote on the sidebar to let you guys choose what you want to see!
I hope you enjoy these tutorials, and please stay in touch! Please follow me on Twitter, where I tweet on topics related to iPhone, software, and gaming, or subscribe to my RSS feed!