Swiftpack.co - Swift Packages by Toni77777

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by Toni77777

Toni77777/PreviewDevice 0.9.0
PreviewDevice - is a library with type-safe syntax sugar for preview device on SwiftUI. Preview for UIKit and Cocoa.
⭐️ 47
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Release 0.9.0
2 years ago
**Preview for Cocoa views:** - `NSViewControllerPreview` - preview for `NSViewController`. - `NSViewPreview` - preview for `NSView`. **Preview for UIKit views:** - `UIViewControllerPreview` - preview for `UIViewController`. - `UIViewPreview` - preview for `UIView`.
Release 0.8.0
2 years ago
Add **new devices:** - iPhone 13 mini, 13, 13Pro, 13Pro Max - Apple Watch 7 41 mm, 44 mm - iPad 9 Gen, iPad mini 6 gen Add new preview with _orientation_: `.previewDevice(device: .iphone12, orientations: [.portrait, .landscapeLeft, .landscapeRight])` Preview on device with _orientation_ and _color schemes_ `.previewDevice(device: .iphone12, orientation: .portrait, colorSchemes: [.light, .dark])`
Release 0.7.0
2 years ago
Fix pod spec. Fix support platforms: tvOS, watchOS.
Release 0.6.0
2 years ago
Fix support tvOS, watchOS platforms
Release 0.5.0
2 years ago
**Added:** - ```View``` extensions. - ```previewDevice(device: Device, colorScheme: ColorScheme)``` - ```previewDevice(device: Device, colorSchemes: [ColorScheme])```
Release 0.3.0
2 years ago
**Added:** - ```View``` extensions. Available iOS 15.0+ OSX 12.00+ macCatalyst 15.0+ tvOS 15.0+ watchOS 8.0+. - ```previewDevice(device: Device, orientation: InterfaceOrientation)``` - ```previewDevice(device: Device, orientations: [InterfaceOrientation])```
Release 0.2.0
2 years ago
**Added:** - ```View``` extensions. - ```previewDevice(device: Device)``` - ```previewDevices(devices: [Device])```
iOS macOS watchOS tvOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics