Skip to content

Commit c3342e7

Browse files
authored
Merge pull request #547 from Esri/Caleb/Fix-NewSamplesIssues
[Fix] `200.6.0` sample issues
2 parents 32f2bde + 9a1c5e0 commit c3342e7

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Shared/Samples/Add vector tiled layer from custom style/AddVectorTiledLayerFromCustomStyleView.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,3 @@ private extension FileManager {
192192
)
193193
}
194194
}
195-
196-
private extension URL {
197-
/// The URL to the local vector tile package file with Dodge City, KS data.
198-
static var dodgeCityVectorTilePackage: URL {
199-
Bundle.main.url(forResource: "dodge_city", withExtension: "vtpk")!
200-
}
201-
}

Shared/Samples/Style geometry types with symbols/StyleGeometryTypesWithSymbolsView.Views.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ private struct EnumerationPicker<T: LabeledEnumeration>: View {
168168
Text(style.label)
169169
}
170170
}
171+
#if targetEnvironment(macCatalyst)
172+
// Workaround for bug where the picker selection doesn't update when the
173+
// binding value changes on Mac Catalyst.
174+
.id(selection)
175+
#endif
171176
}
172177
}
173178

0 commit comments

Comments
 (0)