I have declared a class method in Objective-C:
+ (id) someFunction:(NSDictionary *)param;
When I subclass the class and override this method in Swift with this:
override class func someFunction(param : NSDictionary) -> AnyObject?
I get the error:
Overriding method with selector 'someFunction:' has incompatible type '(NSDictionary) -> AnyObject?'
How do I override the method correctly?