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



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


I was also facing same issue,but when i read your reply i came to know that Objective-C is not compatible with kinvey.thank you for reply,u r really doing a great work in solving issues of your customers.Thanks

Login or Signup to post a comment