Merge pull request #27 from sidepelican/patch-1
Fix compile error of sample mac application
This commit is contained in:
@@ -49,7 +49,7 @@ final class MountainsViewController: NSViewController {
|
||||
.filter { $0.contains(filter) }
|
||||
.sorted { $0.name < $1.name }
|
||||
|
||||
let snapshot = DiffableDataSourceSnapshot<Section, Mountain>()
|
||||
var snapshot = DiffableDataSourceSnapshot<Section, Mountain>()
|
||||
snapshot.appendSections([.main])
|
||||
snapshot.appendItems(mountains)
|
||||
dataSource.apply(snapshot)
|
||||
|
||||
Reference in New Issue
Block a user