I had this implementation with Swift 2.0 and the Xcode suggestion is not only baffling but causes compilation error as well. it\'s a library where users are passing callfunc
public class MyClass { static let sharedInstance = MyClass() private init() { print("MyClass Initialized") } }