You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2020. It is now read-only.
Presently, modelSelected feature of rxDataSources doesn't work.
I suggest writing another reactive extension var skeletonDataSource: DelegateProxy<UICollectionView, SkeletonCollectionViewDataSource> { return RxCollectionViewSkeletonedDataSourceProxy.proxy(for: base) }
func skeletonModel<T>(at indexPath: IndexPath) throws -> T { guard let dataSource = skeletonDataSource.forwardToDelegate() as? SectionedViewDataSourceType else { fatalError("This method only works in case one of the rx.itemsWith* methods was used.") } guard let element = try dataSource.model(at: indexPath) as? T else { fatalError("Error casting") } return element }