Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
62fea7a
Merge pull request #369 from Esri/v.next
yo1995 Apr 11, 2024
def2a79
Merge pull request #474 from Esri/v.next
CalebRas Aug 1, 2024
b5070fa
Add initial files.
fcamas Aug 6, 2024
76a8761
Add readme and source code.
fcamas Aug 7, 2024
ef82e38
Update README.metadata.json
fcamas Aug 8, 2024
1bbf0f2
Update README.md
fcamas Aug 8, 2024
4b4c58d
Apply suggestions from Philip.
fcamas Aug 8, 2024
7a09f93
Apply suggestions from code review
fcamas Aug 8, 2024
9b5e60c
Apply suggestions from Caleb
fcamas Aug 8, 2024
45f0b80
Update AddWebTiledLayerView.swift
fcamas Aug 9, 2024
76d6dfa
Apply suggestions from Caleb, add documentation comments.
fcamas Aug 9, 2024
b75c958
Merge pull request #492 from Esri/Fredy/New-AddWebTiledLayer
fcamas Aug 9, 2024
497d8af
Revert "[New] Add web tiled layer"
yo1995 Aug 9, 2024
b5be74c
Merge pull request #495 from Esri/revert-492-Fredy/New-AddWebTiledLayer
yo1995 Aug 9, 2024
323e567
Merge pull request #542 from Esri/v.next
CalebRas Nov 25, 2024
636ec60
Merge pull request #563 from Esri/v.next
CalebRas Apr 9, 2025
e9ac537
add in initial files
chriswebb09 Jul 29, 2025
192fb63
Merge pull request #666 from Esri/v.next
CalebRas Jul 30, 2025
2822b6f
add in header info
chriswebb09 Jul 30, 2025
dc53a2a
Add readme.
CalebRas Jul 31, 2025
211cc04
Add offline data.
CalebRas Jul 31, 2025
4956096
Add source code.
CalebRas Jul 31, 2025
22eafa7
add in initial code
chriswebb09 Aug 4, 2025
424973e
update view
chriswebb09 Aug 4, 2025
c6afed2
add in functionality
chriswebb09 Aug 4, 2025
38b6d97
add in functionality
chriswebb09 Aug 4, 2025
0ab5bcb
update
chriswebb09 Aug 4, 2025
3bd49e7
update image
chriswebb09 Aug 4, 2025
7ff8a14
Merge branch 'v.next' into chrisw/UpdateRelatedFeatures
chriswebb09 Aug 4, 2025
ba33544
Merge branch 'chrisw/UpdateRelatedFeatures' of https://github.com/Esr…
chriswebb09 Aug 4, 2025
5b2e5c6
update
chriswebb09 Aug 4, 2025
59f05e5
update
chriswebb09 Aug 4, 2025
0ff0324
fix for parks without related features
chriswebb09 Aug 4, 2025
de566ce
update
chriswebb09 Aug 4, 2025
127380d
update logic
chriswebb09 Aug 4, 2025
783ae43
update
chriswebb09 Aug 4, 2025
ab3e06b
cleanup
chriswebb09 Aug 4, 2025
b868b97
cleanup
chriswebb09 Aug 5, 2025
4c576cf
start moving functionality to model
chriswebb09 Aug 5, 2025
b76411e
pause
chriswebb09 Aug 5, 2025
d42b81e
Merge branch 'v.next' into chrisw/UpdateRelatedFeatures
chriswebb09 Aug 6, 2025
19e1028
Merge branch 'chrisw/UpdateRelatedFeatures' of https://github.com/Esr…
chriswebb09 Aug 6, 2025
91cf4aa
move logic to model
chriswebb09 Aug 6, 2025
2802db2
sort samples by name
chriswebb09 Aug 6, 2025
20b170a
move logic to model
chriswebb09 Aug 6, 2025
151e62b
update
chriswebb09 Aug 6, 2025
008c6aa
remove comments
chriswebb09 Aug 6, 2025
a88516a
Disable force_try.
CalebRas Aug 6, 2025
f2755bb
Remove unneeded disable.
CalebRas Aug 6, 2025
7b57790
stash
chriswebb09 Aug 7, 2025
4970f07
Merge pull request #690 from Esri/Caleb/Update-LintingRules
CalebRas Aug 7, 2025
43d5baa
update related feature
chriswebb09 Aug 7, 2025
cddb7b2
cleanup
chriswebb09 Aug 7, 2025
906f6f9
fix warnings
chriswebb09 Aug 7, 2025
42a4528
add in code comments
chriswebb09 Aug 7, 2025
9b1b02b
update
chriswebb09 Aug 7, 2025
f8c9dda
add in additional comments
chriswebb09 Aug 7, 2025
16f6871
add in comments
chriswebb09 Aug 7, 2025
b1c0f53
update README
chriswebb09 Aug 7, 2025
72565df
add in observation ignored
chriswebb09 Aug 7, 2025
e102a92
remove unnecessary toolkit import
chriswebb09 Aug 7, 2025
1b23209
update image
chriswebb09 Aug 7, 2025
0d4be29
Apply suggestions from code review
chriswebb09 Aug 8, 2025
cbd5aa4
update callout bool name
chriswebb09 Aug 8, 2025
97da77e
reorder properties
chriswebb09 Aug 8, 2025
fd87790
cleanup comments
chriswebb09 Aug 8, 2025
fc9099f
cleanup
chriswebb09 Aug 8, 2025
f09c8f1
update
chriswebb09 Aug 8, 2025
46dad88
move comment into block
chriswebb09 Aug 8, 2025
1cb3fb0
Apply suggestions from code review
chriswebb09 Aug 8, 2025
0f223f3
update
chriswebb09 Aug 8, 2025
d363cdb
cleanup
chriswebb09 Aug 8, 2025
2df3dbd
remove extra spacing
chriswebb09 Aug 8, 2025
fe37a1b
update for optional
chriswebb09 Aug 8, 2025
6ee475d
format
chriswebb09 Aug 8, 2025
abe4684
update
chriswebb09 Aug 8, 2025
34a62ea
fix comments
chriswebb09 Aug 9, 2025
b490c91
Revert "Merge pull request #690 from Esri/Caleb/Update-LintingRules"
CalebRas Aug 11, 2025
a78301e
Disable force_try.
CalebRas Aug 6, 2025
dfd4202
Remove unneeded disable.
CalebRas Aug 6, 2025
44fb5b7
Apply suggestions from code review
chriswebb09 Aug 11, 2025
2a695cc
formatting
chriswebb09 Aug 11, 2025
4369d52
Merge branch 'chrisw/UpdateRelatedFeatures' of https://github.com/Esr…
chriswebb09 Aug 11, 2025
7527896
Apply suggestions from code review
chriswebb09 Aug 11, 2025
39f0143
reorder properties
chriswebb09 Aug 11, 2025
6c1ee49
Apply suggestions from code review
chriswebb09 Aug 11, 2025
2d3b177
Fix some minor issues.
CalebRas Aug 13, 2025
433bd46
Merge branch 'v.next' into Caleb/New-QueryDynamicEntities
CalebRas Aug 13, 2025
f80203b
Fix favorites move and delete.
CalebRas Aug 14, 2025
5254e1e
update
chriswebb09 Aug 14, 2025
35cda76
update
chriswebb09 Aug 14, 2025
4921b60
update
chriswebb09 Aug 14, 2025
0ff1b1f
Apply suggestions from code review.
CalebRas Aug 14, 2025
5c224ae
Update Shared/Samples/Update related features/UpdateRelatedFeaturesVi…
chriswebb09 Aug 14, 2025
8bac399
Remove custom Point.
CalebRas Aug 14, 2025
ea1ff19
Apply suggestions from code review
chriswebb09 Aug 14, 2025
9efbcb9
update label
chriswebb09 Aug 14, 2025
cc9d7a9
update labels
chriswebb09 Aug 14, 2025
e6a94a6
Merge pull request #696 from Esri/Update-RedoLintingRules
CalebRas Aug 15, 2025
9e58b67
Make OnDemandResource observable.
CalebRas Aug 15, 2025
8da8b6f
fix layer visiblity toggle
chriswebb09 Aug 15, 2025
62c9223
Merge pull request #685 from Esri/chrisw/UpdateRelatedFeatures
chriswebb09 Aug 15, 2025
71a7ba0
fix key name
chriswebb09 Aug 15, 2025
5a5bf91
fix other uses of unitKey
chriswebb09 Aug 15, 2025
8084379
Remove automatic data source resetting.
CalebRas Aug 15, 2025
3955ada
Merge branch 'main' into Caleb/New-QueryDynamicEntities
CalebRas Aug 15, 2025
6585191
Merge branch 'v.next' into Caleb/New-QueryDynamicEntities
CalebRas Aug 15, 2025
3e4e4db
Merge pull request #684 from Esri/Caleb/New-QueryDynamicEntities
CalebRas Aug 18, 2025
672a024
update revert toolbar changes
chriswebb09 Aug 18, 2025
e791c91
Merge remote-tracking branch 'origin/v.next' into chrisw/remove-enabl…
chriswebb09 Aug 18, 2025
f132572
Merge pull request #698 from Esri/chrisw/remove-enable-toggle-label
chriswebb09 Aug 18, 2025
f0c485d
Add DownloadOfflineResourcesView.
CalebRas Aug 18, 2025
cccb52e
Remove custom Geometry.
CalebRas Aug 18, 2025
fd9f053
Merge pull request #699 from Esri/chrisw/parknamefix
chriswebb09 Aug 19, 2025
6789bcf
add in files
chriswebb09 Aug 20, 2025
9447b98
add in README and metadata
chriswebb09 Aug 20, 2025
c5a88f7
add in view
chriswebb09 Aug 20, 2025
122c6ea
add in url to building
chriswebb09 Aug 20, 2025
a431976
add in scenelayer
chriswebb09 Aug 20, 2025
f36bc24
add in initial viewpoint and basemap style
chriswebb09 Aug 20, 2025
f8d58ca
add in screenshot
chriswebb09 Aug 20, 2025
6d13ff5
add in elevation source
chriswebb09 Aug 20, 2025
ba65719
update to add camera
chriswebb09 Aug 20, 2025
26d57a7
update for bottom toolbar
chriswebb09 Aug 20, 2025
1bcd76c
update with renderer type
chriswebb09 Aug 20, 2025
6338dc4
add simple renderer
chriswebb09 Aug 20, 2025
ef1e23e
add in classrenderer
chriswebb09 Aug 20, 2025
199bb50
add in change when renderer is changed
chriswebb09 Aug 20, 2025
882472b
update image
chriswebb09 Aug 20, 2025
8323cb3
update comments, remove error
chriswebb09 Aug 20, 2025
f76154d
update
chriswebb09 Aug 20, 2025
b72815c
cleanup picker
chriswebb09 Aug 20, 2025
d1b1423
cleanup comments
chriswebb09 Aug 20, 2025
d4b8967
format code
chriswebb09 Aug 20, 2025
f81e05b
move values to extensions
chriswebb09 Aug 20, 2025
d7c4c27
update variable name
chriswebb09 Aug 20, 2025
fb0e600
remove view extension
chriswebb09 Aug 20, 2025
63c0e26
cleanup
chriswebb09 Aug 20, 2025
a77c10f
remove extra render setting
chriswebb09 Aug 20, 2025
0fc6252
update formatting
chriswebb09 Aug 20, 2025
221e232
move point to extension, fix nil warning
chriswebb09 Aug 20, 2025
d320d70
consolidate code
chriswebb09 Aug 20, 2025
8b880d0
return property directly
chriswebb09 Aug 20, 2025
17c591b
use render property directly insteadc of closure property
chriswebb09 Aug 20, 2025
e7071a5
change null to nil
chriswebb09 Aug 20, 2025
f5bfc0d
update comments
chriswebb09 Aug 20, 2025
7c6dde8
update variable name
chriswebb09 Aug 20, 2025
c221742
change basemap style back to light gray
chriswebb09 Aug 20, 2025
294c579
fix spelling error
chriswebb09 Aug 20, 2025
ddd7389
grammar
chriswebb09 Aug 20, 2025
22f9ac0
clarify comment
chriswebb09 Aug 20, 2025
7ca3722
update comment on scene
chriswebb09 Aug 20, 2025
21ac76c
clarify property docstring
chriswebb09 Aug 20, 2025
13e7267
Update README and metadata.
yo1995 Aug 20, 2025
de819d3
Merge pull request #697 from Esri/Caleb/Fix-CrossBranchFavorites
CalebRas Aug 20, 2025
4fd4873
Merge pull request #704 from Esri/Ting/UpdateGroupLayer
yo1995 Aug 20, 2025
42a5e3f
Apply suggestions from code review
chriswebb09 Aug 20, 2025
3eeadf7
update to fix spelling
chriswebb09 Aug 20, 2025
488be44
update render selection
chriswebb09 Aug 20, 2025
3f011f1
remove comment
chriswebb09 Aug 20, 2025
3d7a9c2
format
chriswebb09 Aug 20, 2025
62328db
update access on property
chriswebb09 Aug 20, 2025
b91eb0d
Apply suggestions from code review
chriswebb09 Aug 20, 2025
bda990f
update doc strings
chriswebb09 Aug 20, 2025
567a53c
Merge branch 'chrisw/ApplyRenderersToSceneLayers' of https://github.c…
chriswebb09 Aug 20, 2025
b320236
Apply suggestions from code review
chriswebb09 Aug 20, 2025
5445581
update screenshot
chriswebb09 Aug 20, 2025
2add860
change geometry to point, use point only in camera
chriswebb09 Aug 20, 2025
d665b50
Apply suggestions from code review
chriswebb09 Aug 20, 2025
d463d2b
update docstrings so they are consistent
chriswebb09 Aug 20, 2025
2feb06d
Merge branch 'chrisw/ApplyRenderersToSceneLayers' of https://github.c…
chriswebb09 Aug 20, 2025
4f63e70
update
chriswebb09 Aug 20, 2025
2c8c254
Merge pull request #703 from Esri/chrisw/ApplyRenderersToSceneLayers
chriswebb09 Aug 20, 2025
4ec62c4
Make `OnDemandResource` initializer async
philium Aug 22, 2025
4575b13
Use sample name (non-upper camel cased)
philium Aug 22, 2025
8be7093
Merge pull request #705 from Esri/philium/Caleb/OfflineDataButton
philium Aug 25, 2025
f5e3ce7
Remove "cover" from variable name.
CalebRas Aug 25, 2025
12accfd
Update alert wording.
CalebRas Aug 25, 2025
0296650
Use GaugeProgressViewStyle.
CalebRas Aug 25, 2025
21e54df
Add purge comment and messages.
CalebRas Aug 25, 2025
102a1bf
Add doc comment.
CalebRas Aug 25, 2025
ffe014a
Add animations.
CalebRas Aug 25, 2025
f0f664c
Remove alert message.
CalebRas Aug 26, 2025
2880664
Use markdown for text bolding.
CalebRas Aug 26, 2025
c7ee3b9
Merge branch 'Caleb/OfflineDataButton' of https://github.com/Esri/arc…
CalebRas Aug 26, 2025
2ddfc10
Move comment.
CalebRas Aug 26, 2025
93809a5
Remove animations from model.
CalebRas Aug 26, 2025
77d674c
Merge pull request #701 from Esri/Caleb/OfflineDataButton
CalebRas Aug 26, 2025
afdd724
Merge pull request #702 from Esri/Caleb/Update-CustomDynamicEntityDat…
CalebRas Aug 27, 2025
cabc8ca
Fix build error.
CalebRas Aug 28, 2025
30e2541
Update Shared/Samples/Validate utility network topology/ValidateUtili…
CalebRas Aug 28, 2025
e95cbfb
Merge pull request #706 from Esri/Caleb/Fix-ValidateUtilityNetworkTop…
CalebRas Aug 29, 2025
2ca3800
Update categories.
CalebRas Sep 12, 2025
e711dd7
Fix appendInterpolation warning.
yo1995 Sep 30, 2025
9d2fe0f
Limit type to what the doc indicates.
yo1995 Sep 30, 2025
ec3c793
Revert "Limit type to what the doc indicates."
yo1995 Sep 30, 2025
55e5c0e
Cast the error to its concrete type to avoid un-locallized interpolat…
yo1995 Sep 30, 2025
2722c61
Apply suggestions from code review.
yo1995 Oct 1, 2025
1b899db
Apply suggestion from code review.
yo1995 Oct 2, 2025
fbd3266
Merge pull request #709 from Esri/Ting/Fix-appendInterpolation
yo1995 Oct 2, 2025
64b1d7a
Merge pull request #708 from Esri/Caleb/Update-Categories
CalebRas Oct 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ disabled_rules:
- file_length
- for_where
- force_cast
- force_try
- line_length
- notification_center_detachment
- type_body_length
- type_name

Expand Down
69 changes: 69 additions & 0 deletions Samples.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import ArcGIS

extension AddCustomDynamicEntityDataSourceView {
/// A marine vessel that can be decoded from the vessel JSON.
struct Vessel {
/// A geometry that gives the location of the vessel.
struct Geometry: Decodable { // swiftlint:disable:this nesting
/// The x coordinate of the geometry.
let x: Double
/// The y coordinate of the geometry.
let y: Double
}

/// The location of the vessel.
let geometry: Geometry
let geometry: Point
/// The attributes of the vessel.
let attributes: [String: any Sendable]
}
Expand Down Expand Up @@ -56,7 +50,7 @@ extension AddCustomDynamicEntityDataSourceView.Vessel: Decodable {

let container = try decoder.container(keyedBy: CodingKeys.self)

let geometry = try container.decode(Geometry.self, forKey: .geometry)
let geometry = try container.decode(Point.self, forKey: .geometry)
let attributes: [String: any Sendable] = try {
let attributes = try container.decode(Attributes.self, forKey: .attributes)
return [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,10 @@ private struct VesselFeed: CustomDynamicEntityFeed {
from: line.data(using: .utf8)!
)

// The location of the vessel that was decoded from the JSON.
let location = vessel.geometry

// We successfully decoded the vessel JSON so we should
// add that vessel as a new observation.
return CustomDynamicEntityFeedEvent.newObservation(
geometry: Point(x: location.x, y: location.y, spatialReference: .wgs84),
geometry: vessel.geometry,
attributes: vessel.attributes
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ private extension FileManager {
/// Creates a temporary directory.
/// - Returns: The URL of the created directory
static func createTemporaryDirectory() -> URL {
// swiftlint:disable:next force_try
try! FileManager.default.url(
for: .itemReplacementDirectory,
in: .userDomainMask,
Expand Down
6 changes: 3 additions & 3 deletions Shared/Samples/Animate 3D graphic/Animate3DGraphicView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ struct Animate3DGraphicView: View {
}

Section {
Toggle("Auto-Heading Enabled", isOn: $model.cameraController.autoHeadingIsEnabled)
Toggle("Auto-Pitch Enabled", isOn: $model.cameraController.autoPitchIsEnabled)
Toggle("Auto-Roll Enabled", isOn: $model.cameraController.autoRollIsEnabled)
Toggle("Auto-Heading", isOn: $model.cameraController.autoHeadingIsEnabled)
Toggle("Auto-Pitch", isOn: $model.cameraController.autoPitchIsEnabled)
Toggle("Auto-Roll", isOn: $model.cameraController.autoRollIsEnabled)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct ApplyFunctionToRasterFromServiceView: View {
url: URL(string: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/NLCDLandCover2001/ImageServer")!
)
// Creates a raster function from a json string.
let function = try! RasterFunction.fromJSON(rasterFunctionJSON) // swiftlint:disable:this force_try
let function = try! RasterFunction.fromJSON(rasterFunctionJSON)
// Sets the arguments on the function.
function.arguments!.setRaster(
imageServiceRaster,
Expand Down
Loading