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
Post a Comment