Xcode – How to use results from Swift completion handler?
I'm new to Swift and SwiftUI. In my macOS SwiftUI project, I'm trying to verify that a URL is reachable so I can present one of two views conditionally. One view which loads the image URL, another one which displays…