XLPagerTabStrip icon indicating copy to clipboard operation
XLPagerTabStrip copied to clipboard

Compatibility with projects having both Swift and Obj C

Open Abdul-Hannan opened this issue 7 years ago • 0 comments

Lets Say I have a Swift class A I want to have tab bar like the one in your Youtube Example.

So I would be declaring it like

@objc class A: BaseButtonBarPagerTabStripViewController<MyCustomTabCell>

The reason I used @objc is because I will use my class in Objective C code. This will give a compile time error because Classes with Swift generics can not be used in Objective C.

please see this thread

Can you please tell me a workaround

Abdul-Hannan avatar Jul 18 '17 12:07 Abdul-Hannan