In main, by default foundation.h is imported. But… in the part of this chapter about #include and #import, the following is stated:[quote]To make life easier and compiles faster, most Xcode projects have a file that lists headers to be precompiled in every file. In your Constants project, his file is called Constants-Prefix.pch[/quote]
When I look at this file, there’s the following code:[code]//
// Prefix header for all source files of the ‘Constants’ target in the ‘Constants’ project
Looks to me, Foundation.h is already included by default, when I remove the import from main, the code in my Constants project works just as nice. So I’m wondering… why is it imported at that place?!