How can I add common headers in a separate file in Xcode and access other classes?


I want to create a separate file in which i will be keeping headers for other classes to use so that i don't have to declare common ones in each files.

I figured it can be set under target-build settings-> apple llvm compiler - language -> prefix header. add path to prefix.pch file and add all the headers in that file. should work.