UICollectionViewDiffableDataSourceをつかっていた際にタイトルのエラーが発生したので、対処法をかるくメモ🔰 今回エラーが発生したのは、セクションの情報を追加するときの処理です。 var snapshot = dataSource.snapshot() snapshot.appendSections(newSections) newSections.forEach { switch $0 { case .largeItem(let item, _): snapshot.appendItems([item], toSection: $0) case .smallIt…