我有一个Objective-c课程
@interface LightweightGenericHolder<T: NSObject*> : NSObject
@property (nonatomic, strong, readwrite) T value;
@end
我从中创建了swift子类
public class LightweightGenericHolderSubclass: LightweightGenericHolder<NSString> {
}
在目标C代码中使用 LightweightGenericHolderSubclass 会产生错误使用未声明的标识符'LightweightGenericHolderSubclass'
如何使该班级可见?
谢谢。