Skip to content

Releases: Toni77777/PreviewDevice

Release 0.9.0

11 Dec 23:07
Compare
Choose a tag to compare

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

16 Sep 21:17
Compare
Choose a tag to compare

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

26 Aug 19:54
Compare
Choose a tag to compare

Fix pod spec. Fix support platforms: tvOS, watchOS.

Release 0.6.0

26 Aug 19:50
Compare
Choose a tag to compare

Fix support tvOS, watchOS platforms

Release 0.5.0

26 Aug 19:26
Compare
Choose a tag to compare

Added:

  • View extensions.
    • previewDevice(device: Device, colorScheme: ColorScheme)
    • previewDevice(device: Device, colorSchemes: [ColorScheme])

Release 0.3.0

25 Aug 21:40
Compare
Choose a tag to compare

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

24 Aug 21:36
Compare
Choose a tag to compare

Added:

  • View extensions.
    • previewDevice(device: Device)
    • previewDevices(devices: [Device])