I have a class:This class is to forge an array and also provides an inheritance to NSObject.When I try to use it in objective-c code. It seems the conversion failed. After experiment a little while , I found after removing all <T>s and replace T with NSObject makes it OK. I've already written lots of classes based on ArrayLike and I'm eagering to use these classes in obj-c. Is there any workaround for this situation?public class ArrayLike<T>: NSObject, SequenceType{ // public typealias SubSequence = Array<T>.SubSequence public typealias Generator = Array<T>.Generator public func generate() -> ArrayLike.Generator { return _impl!.generate() } public func underestimateCount() -> Int { return _impl!.underestimateCount() } public func map<T>(@noescape transform: (ArrayLike.Generator.Element) throws -> T) rethrows -> [T] { return try _impl!.map(transform) } public func filter(includeElement: (ArrayLike.Generator.Element) throws -> Bool) rethrows -> [ArrayLike
0
0
254