Why do constants in all examples I\'ve seen always start with k? And should I #define constants in header or .m file?
I\'m new to Objective C, and I don\'t know C. I
The question of what the "k" means is answered in this question.
And if you intend for files other than that particular .m to use these constants, you have to put the constants in the header, since they can't import the .m file.
You might be interested in Cocoa Dev Central's C tutorial for Cocoa programmers. It explains a lot of the core concepts.