Start a new topic
Answered

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 {   
            }
        })

Best Answer

Hi Jennifer,


Objective-C (1.x iOS SDK) is no longer a supported product by Kinvey. The Kinvey SDK only supports Swift (3.x iOS SDK). We strongly recommend that you migrate to a 3.x version of the SDK as soon as possible.


Thanks,

Pranav

Kinvey


1 Comment

Answer

Hi Jennifer,


Objective-C (1.x iOS SDK) is no longer a supported product by Kinvey. The Kinvey SDK only supports Swift (3.x iOS SDK). We strongly recommend that you migrate to a 3.x version of the SDK as soon as possible.


Thanks,

Pranav

Kinvey


Login or Signup to post a comment