I'm writing a C header file that defines quite a few constants (mostly ints) that I use in different .m files. I'm doing this to avoid having magic numbers all over my code. Right now I'm using #define for this, but is it better to do it some other way? Some other answers here seem to recommend using const to declare the constants, but when I look at some standard header files (like math.h), they use #define.
Am I even writing a header file for the right reason?