Skip to content

Commit 55587e6

Browse files
Merge pull request #94 from kishikawakatsumi/examples
Adopt the latest SDK
2 parents 498858e + 1cea990 commit 55587e6

10 files changed

+10
-10
lines changed

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/BannerTileGridViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ extension BannerTileGridViewController {
9090
}
9191

9292
// Initial data
93-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
93+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
9494
snapshot.appendSections([.main])
9595

9696
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/GalleryViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ extension GalleryViewController {
8282
}
8383

8484
// initial data
85-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
85+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
8686
snapshot.appendSections([.main])
8787

8888
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/GroupGridViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ extension GroupGridViewController {
113113
}
114114

115115
// Initial data
116-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
116+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
117117
snapshot.appendSections([.main])
118118

119119
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/MosaicReduxViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ extension MosaicReduxViewController {
109109
}
110110

111111
// Initial data
112-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
112+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
113113
snapshot.appendSections([.main])
114114

115115
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/MosaicViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ extension MosaicViewController {
125125
}
126126

127127
// Initial data
128-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
128+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
129129
snapshot.appendSections([.main])
130130

131131
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/PortraitTileGridViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ extension PortraitTileGridViewController {
9090
}
9191

9292
// Initial data
93-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
93+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
9494
snapshot.appendSections([.main])
9595

9696
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/ShowcaseGalleryViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ extension ShowcaseGalleryViewController {
9595
}
9696

9797
// initial data
98-
let snapshot = NSDiffableDataSourceSnapshot<Int, ImageModel>()
98+
var snapshot = NSDiffableDataSourceSnapshot<Int, ImageModel>()
9999
var identifierOffset = 0
100100
let itemsPerSection = 8
101101
for section in 0..<8 {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/TileGalleryViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ extension TileGalleryViewController {
107107
}
108108

109109
// Initial data
110-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
110+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
111111
snapshot.appendSections([.main])
112112

113113
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/TileGridViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ extension TileGridViewController {
9898
}
9999

100100
// Initial data
101-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
101+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
102102
snapshot.appendSections([.main])
103103

104104
func produceImage() -> UIImage {

Example/Example/Samples from compositional-layouts-kit/Compositional Layouts VCs/WaterfallViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ extension WaterfallViewController {
115115
}
116116

117117
// initial data
118-
let snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
118+
var snapshot = NSDiffableDataSourceSnapshot<Section, ImageModel>()
119119
snapshot.appendSections([.main])
120120

121121
func produceImage() -> UIImage {

0 commit comments

Comments
 (0)