Last Tested on Xcode 15.0 beta 1
When creating a Preview with the new iOS 17 #Preview
macro, there is firstly an optional name
. As with any optional that has a default value of nil
, not adding anything is equivalent to passing nil
. The default name that is displayed when a Preview has no name is unsurprisingly Preview.
Th…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.