Reputation: 69787
I've noticed that I can use dot notation in iOS 5 beta/XCode 4.2 beta, even for methods that are not properties, like Singleton.instance
when the method signature is merely + (Singleton*) instance
. If I recall correctly, I couldn't do this in XCode 4.1.
Upvotes: 1
Views: 263
Reputation: 185831
Nothing has changed except Xcode's code completion. The compiler always allowed you to use dot-notation for methods, only Xcode wouldn't offer methods as code completion suggestions for dot notation. Xcode 4.2 seems to have changed that behavior.
Upvotes: 6