Start a new topic

Kinvey Swift 3 KCSCustomEndpoints

I converted my project to swift 3 and am having issue with the kinvey conversion. I had this before but it now gives me this error: "Cannot convert value of type '(AnyObject!, NSError!) -> Void' to expected argument type 'KCSCustomEndpointBlock!'". How could I fix this issue?

KCSCustomEndpoints.callEndpoint("endpointName", params: params, completionBlock: {
            (results: AnyObject!, error: NSError!) -> Void in
            if results != nil {   
Login or Signup to post a comment