Recently, Google labs introduced their new "Code Search" tool. This got me to start looking for similar search engines on the web. One of the nice one's I've used is "Programming is hard" which has some nice formating, but limited languages. While many of the examples are way over my head as a new coder, these snippets have a lot to teach. I't is mind blowing just how efficient an experienced programmer can make a routine.
As I said though, there are few good sources for Objective C, Cocoa, or Applescript. ALthough Google found over 200 examples for Cocoa related code. Of course there are plenty of publicly available sources for learning Objective C, but they are sparse with code examples.