I have a Swift class that contains below enum
:
@objc public enum AlertStyle : Int {
case Success,Error,Warning,None
case CustomImag(imageFile:String)
}
I do the bridging and other integration phases for using swift classes in Objective-C, but when I build the app, compiler shows below error:
<unknown>:0: error: cannot assign value of type '(imageFile: String) -> AlertStyle' to type 'AlertStyle'
How can I fix it?