Thanks for providing this suggestion. This worked brilliantly in the Swift 5 language mode.
However, since migrating to Swift 6, this solution no longer works. A multitude of errors are thrown when using the solution you have provided in Swift 6.
Topic:
Privacy & Security
SubTopic:
General
Tags: