I want to get the dataModel of UICollectionView at specific indexPath, I noticed that there is a method called model<T>(at indexPath: IndexPath), and I think that's what I need, but the compiler complains about like this
I also noticed that RxSwift has provided other instance methods like modelSelected<T>(_ modelType: T.Type) and I can use it with no error like the picture, I think they are the same type(both are instance method), but I get different results, is there something I missed when using this method? I would be happy if somebody can give some advice.
