You really need to use #import "Constants.h" every place you want to use constants inside it; Objective-C is a C-based language.
In addition, you do not become attached to it either when installing the #import directive in your code, or if you put it in your prefix file. In both cases, the contents of the file are included in the text stream transmitted by the compiler to the preprocessor.
Finally, you usually do not add random things to your prefix file. (Panagiotis Korros called it “your precompiled header file,” but it's a little incorrect, your prefix file is used to create the precompiled header file.) If you keep your build settings consistent between projects and use the same name for your project prefix files, Xcode will actually cache and reuse precompiled versions for you very aggressively. This wins by adding project-specific content to them.
source share