Esri / arcgis-maps-sdk-swift-samples

SwiftUI samples demonstrating various capabilities of ArcGIS Maps SDK for Swift
https://developers.arcgis.com/swift
Apache License 2.0
30 stars 9 forks source link

[Update] Fix linter warnings for string <-> data conversion #505

Closed yo1995 closed 2 weeks ago

yo1995 commented 3 weeks ago

Description

This PR addresses the remaining linter warnings.

I hoped that the change in https://github.com/realm/SwiftLint/pull/5601 get into SwiftLint 0.56.1, but it didn't and I don't want to wait for it. In our case, this change shouldn't cause a problem, as the data being converted to string are all known to be valid. Since this linter warning is addressed in the SDK, let's do it for the samples.

See https://github.com/realm/SwiftLint/issues/5263

Linked Issue(s)

How To Test

Build with latest SwiftLint and no more linter warnings.