I need to call a swift function from objective-c. This needs to have a callback (that will be executed from obj-c)
@objc public func getTokens(forAuthentificationCode auth_code : String, completion: ()->()? )
I get "Method cannot be marked @objc because the parameter..." How to make a function with a completion block that can be used from objective-c?