Skip to content

Instantly share code, notes, and snippets.

@drumnkyle
Created January 23, 2020 02:56
Show Gist options
  • Save drumnkyle/f2d65ace67d04ad6ed678f2c0adb74f7 to your computer and use it in GitHub Desktop.
Save drumnkyle/f2d65ace67d04ad6ed678f2c0adb74f7 to your computer and use it in GitHub Desktop.
SwiftUI Previews for All Configurations
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
Group {
ContentView(title: "Small Title")
ContentView(title: "Longer Title to Make Sure It Works")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment