BubbleShowCase-iOS
BubbleShowCase-iOS copied to clipboard
Getting error while setting it for UIView
I'm getting the following error for this code
let showCase: BubbleShowCase! = BubbleShowCase(target: MyView)
Error: Cannot convert value of type 'UIView?' to expected argument type 'UIBarButtonItem'
How can I resolve it? Any help would be really appreciated
Hello @ArjunBhilare, if you have a look at the BubbleShowCase class there is no constructor with just target as UIView parameter.
So, if you want to use UIView you will have define it this way:
let showCase: BubbleShowCase! = BubbleShowCase(target: MyView, arrowDirection: .down, label: "CustomLabel")