[Solved] Class method access by dot operator [duplicate]
NSMutableString.string is a hack. It “works” for the same reason that myString.length and [myString length] produce the same result. However, since dot notation is not used with an actual property, it is an abuse of the language feature, because properties have a different semantic. For example, when you access a property multiple times, you naturally … Read more