I am trying to convert the following objective-c code to swift: -


    svksharedialogcontroller * sharedialog = [vksharedialogcontroller new];     sharedialog.text = @"your share text here";     sharedialog.otherattachmentsstrings = @[@"https://vk.com/dev/ios_sdk"];     [sharedialog presentin:self];  //swift     var sharedialog = vksharedialogcontroller()     sharedialog.text = "your share text here"     sharedialog.otherattachmentsstrings = ["https://vk.com/dev/ios_sdk"] 

but errors saying type "viewcontroller" not conform protocol "vksdkdelegate".

how can fix issue?

the error because adopting vksdkdelegate protocol in viewcontroller class, have not implemented 1 or more of required methods. vksdkdelegate reference lists required methods have implement in class.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -