I am a newbie in objective c so probably this question is stupid. I need a class where are only constants. Let's say I have many constants defined like this:
uint8_t const ONE = 1
In my app a have 20 constants and I want to access to its values from many places (classes). In C# I would do that with class with constants and access to them statically:
Constants.ONE;
But in Objective C it is a problem to me to do that. I know I can put constants to some header file and then import it to classes but there is a risk of duplication.
For example a have a class A, B, C. In class A I import class B and C. Each of this classes need access to constants but I can´t import header file to each of them (if class B has constants and A also, constants are duplicated).