If I am making the user interface programmatically, what is the best way to store constants for a UI element’s coordinate and size? #define, or double const? Should I be putting this in the .h, .m, or a separate file?
If I am making the user interface programmatically, what is the best way to
Share
I personally use
#definefor sizes etc, just under the@implementationline, writingstatic CGFloat xxetc is too long and unnecessary in my opinion.