I see a lot of sample code for declaring variables with ARC lifetime qualifiers written as follows:
However according to Apple’s Transitioning to ARC release notes:
[quote]You should decorate variables correctly. When using qualifiers in an object variable declaration, the correct format is:
ClassName * qualifier variableName;
For the example above that would change the declaration to:
They also say:
The first example being such a variation.
The question is whether this is simply a stylistic issue and it really doesn’t matter or if there is some subtle difference that affects correctness between the two?
For example with regard to the “volatile” qualifier there is a significant difference that can lead to incorrect results between