So I am slowly adding more swift files to codebase. Suppose I have class in Objective c:
ListData<Type : CSJSONData *> : ServerData <CSListData>
I want to subclass it in swift class like this:
@objc class ArticlesData: ListData<Article>
Compiler gives me error:
Generic subclasses of '@objc' classes cannot have an explicit '@objc' because they are not directly visible from Objective-C
Replace '@objc ' with ''
But I need to have it @objc to keep available in my objc part of code ! How to do it ?