I am using the following codebase in Xcode 12 and it was working fine but in Xcode 13 it is giving compiling error. Please help.
typealias DataSource = UICollectionViewDiffableDataSource<Section, Issues>
@available(iOS 13.0, *)
typealias DataSourceSnapshot = NSDiffableDataSourceSnapshot<Section, Issues>
@available(iOS 13.0, *)
private(set) lazy var dataSouurce = DataSource()
@available(iOS 13.0, *)
private(set) lazy var datasourceSnapshot = DataSourceSnapshot()
This codebase is giving me following error in variable dataSouurce declaration
Missing arguments for parameters 'collectionView', 'cellProvider' in call
Any help will be much appreciated.