Exercise 2: Converting a PreviewProvider to #Preview — Possible Solution ========================================================================= TASK Convert the PreviewProvider example into a #Preview for ProfileCard, and say what you no longer have to write. ANSWER #Preview { ProfileCard() } WHAT YOU NO LONGER WRITE - A separate struct that conforms to PreviewProvider (for example ProfileCard_Previews). - The static computed property named previews that returns the view. The chapter's sources say Xcode 15 and Swift 5.9 introduced the #Preview macro to replace the PreviewProvider protocol. CAUTION If ProfileCard needs arguments, pass sample values inside the macro. The chapter does not describe what happens if it is given none.