What's new in PreviewDevice 0.8.0

PreviewDevice is a library with type-safe syntax sugar for preview device on SwiftUI. If you don’t know what is the library, I recomment read this article.

What’s new in 0.8.0? Go-go-go

Added support new Apple devices:


Apple Watch:


Preview on device with orientation and color schemes.

Available iOS 15+ OSX 12+, macCatalyst 15+, tvOS 15+, watchOS 8.0+

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
            .previewDevice(device: .iphone13,
                           orientation: .portrait,
                           colorSchemes: [.light, .dark])

Do you like the library? Click the star on GitHub.

Thanks for reading! See you soon. 👋