I have a class method in Swift:
import Foundation
public class MyClass : NSObject{
class func registerDevice(userId uId: String, deviceId dId: String, pushServiceToken token: String) -> Void{ /*...*? }
}
I'm then trying to call that function from Objective-C, but I'm borking something. Here's what I'm trying:
[MyClass registerDevice: @"user id" deviceId: [UIDevice currentDevice].identifierForVendor.UUIDString pushServiceToken: registrationToken];
...but I'm getting the error:
"No known class method for selector 'registerDevice::deviceId:pushServiceToken:'"
What's the right way to make this call?
UserIdor so afterregisterDevice.