OBE预览 描述 我想要一种快速,简单且可重用的方式在Xcode中编写SwiftUI预览画布...因此我构建了它。 例子 struct Preview_Previews : PreviewProvider { static var previews: some View { Preview ([. light ], [. dark ]) { HStack { Text ( " Such content. " ) Text ( " So easy. " ) Text ( " Very readable. " ) } . padding () } . context ([