How to create Quick Look debug previews for your custom types
Swift version: 5.2 Paul Hudson @twostraws Xcode's Quick Look debugging allows us to visually preview the value of our types, and is capable of showing numbers, strings, attributed strings, colors, images, PDFs, Bezier paths, and more. By default your custom types don't have a Quick Look preview, so you won't see anything useful.