Well, finally I got to write a post about the location of Sample projects location.
It has used to be /Developer/Examples. However after introduction of iPhone SDK, the sample projects began to be located in /Developer/Documentation/DocSets/*.docset/Contents/Resources/Documents/samplecode.
Then why did they leave the /Developer/Example folder?
Also, when you search sample codes using the Xcode’s search feature, it presents a HTML page for the sample code.
But its “open project in xcode” button doesn’t find the location of the project. It just presents an Open File dialog box and you need to browse into the directory to find a project file.