If you're an iPhone developer, Joe Hewitt's three20 is the best open-source codebase I know of: http://github.com/joehewitt/three20
Joe tends to do things his own way, which works out fine, but does tend to depart from most people's Cocoa/Touch code.