the iphone sdk documentation has links to sample code, but you have to download them individually from the web. Is there a bundle you can download all at once from apple ?
For example, reading the first iphone tutorial at switchonthecode, the first new word I came across was UIApplication. There are 5 samples on the web…
http://www.jerrybeers.com/index.php/2011/06/18/copying-xcode-samples/ shows how to get all the samples from the existing xcode install on your machine. Very useful!