I'm confused on whether or not the term "scalar" means the same thing as "primitive" for Objective-C. It sounds like they mean the same thing and can be used interchangeably.
I just view both as being basic C data types like BOOL
, int
, char
, float
, and double
.
In Apple's documentation, they seem to use the two terms interchangeably multiple times, but I want to be sure on this.
Even if there is a slight difference, I would like to know.
Objective-C is known for having weird/unique intricacies when compared to other languages; I'm not sure if there's a special use of these terms.