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.
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)
swift/pull/5695
How To Test
Build with latest SwiftLint and no more linter warnings.