http://www.apple.com/downloads/macosx/development_tools/
--
Dr. Ahmed
iPhone SDK 3.1.2

Thank you for signing up as a Registered iPhone Developer
You now have access to a comprehensive set of development tools and resources to assist you in developing innovative applications for iPhone and iPod touch.

iPhone SDK includes:
Resources in the iPhone Dev Center:

Xcode
Complete development environment provides project management, a powerful source editor, and a graphical debugger.

Getting Started Videos & Documents
Get started with videos and documentation covering a range of topics, from tools and frameworks to development best-practices and design methods.

iPhone Simulator
Run, test, and debug your application locally on your Mac using a simulated iPhone.

iPhone Reference Library
A rich collection of documentation, guides, and articles categorized so you can quickly find the information you're looking for.

Instruments
Collect, display, and compare performance data graphically in real-time to optimize your application.

Coding How-To's
Play a movie. Play a sound. Detect motion. Incorporate features of iPhone in your application.

Interface Builder
Interface Builder makes designing a user interface as easy as drag and drop.

Sample Code
Use the code and design from these samples to inspire your own development.