I'm new to Objective-C, and I have a few questions regarding const
and the preprocessing directive #define
.
First, I found that it's not possible to define the type of the constant using #define
. Why is that?
Second, are there any advantages to use one of them over the another one?
Finally, which way is more efficient and/or more secure?