You can declare in the header, define it in a code file. Simply declare it as
extern const double EARTH_RADIUS;
then in a .m file somewhere (usually the .m for the .h you declared it in)
const double EARTH_RADIUS = 6353;
You can declare in the header, define it in a code file. Simply declare it as
extern const double EARTH_RADIUS;
then in a .m file somewhere (usually the .m for the .h you declared it in)
const double EARTH_RADIUS = 6353;