Apple’s sample code includes an annoying disclaimer at the top of each file. I can understand the need for a disclaimer, but this code takes it to an obnoxious level: every .h file or .m file you open, you can’t see any actual code to to the length of the disclaimer.
Strike one is including that disclaimer in every file. If the lawyers can’t accept “Please see DISCLAIMER.TXT.” in place of 38 lines of bullshit, you have stupid lawyers. Fine, though. I’ll just remove it, right?
Luckily, Xcode has a great Find-Replace tool. So we’ll use it.
And here’s where we hit strike two:
It’d be nice if we could blame this on Xcode. Indeed, it’s Xcode’s fault that the text is so long. But it’s Mac OS X’s fault that the sheet goes under the dock rather than truncating before it.

This isn’t their decision. This is done all through the world of FOSS for example. I’m sure some legal eagles somewhere have made it necessary. This be your first foray into FOSS?
I know FOSS does it, but this code isn’t really FOSS and serves a different purpose. The purpose of FOSS is generally to build something. The header there protects against the code being used in a way counter to the license.
The purpose this code is only to demonstrate how to use Apple’s frameworks, and to do so while remaining highly readable. The 38 lines of bullshit go against the purpose of the code.
Perhaps it would be enough if Xcode just rolled up the legalese by default, though…