In my Objective-C .h
file, I have defined:
typedef NS_ENUM(NSInteger, RTSpinKitViewStyle) {
RTSpinKitViewStylePlane,
RTSpinKitViewStyleCircleFlip
};
How to access the enum in Swift code?
I tried using dot operator as RTSpinKitViewStyle.RTSpinKitViewStyleCircleFlip
but it shows compile error
"RTSpinKitViewStyle.Type does not have member type name RTSpinKitViewStyleCircleFlip " .
Use:
or just: