-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Update] Use model to manage geo view and data #107
Conversation
Remove wrong pattern in the view model where it affects the view.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go from my perspective after this open discussion has some resolution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cash I reported last time appears to be resolved with the latest changes.
Shared/Samples/Add raster from file/AddRasterFromFileView.swift
Outdated
Show resolved
Hide resolved
Shared/Samples/Download vector tiles to local cache/DownloadVectorTilesToLocalCacheView.swift
Outdated
Show resolved
Hide resolved
Shared/Samples/Show result of spatial operations/ShowResultOfSpatialOperationsView.swift
Outdated
Show resolved
Hide resolved
Add guarding conditions to avoid unexpected outcomes. Co-authored-by: Philip Ridgeway <[email protected]>
Thanks for the suggestions. I'll fix other issues in the upcoming PRs. |
Description
This PR changes the
@StateObject
pattern in most of the samples, to use an observable model object to manage the data.Linked Issue(s)
swift/issues/3271
swift/issues/3250
Add raster from file
#48 and [Fix] Raster file load issue #89How To Test
To run the app, you'll need to
.package(name: "arcgis-maps-sdk-swift", path: "../swift/ArcGIS")
.No behavioral change should present. Verify all changed sample to work as expected.
To Discuss