Skip to content

Latest commit

 

History

History
73 lines (40 loc) · 1.98 KB

CHANGELOG.md

File metadata and controls

73 lines (40 loc) · 1.98 KB

LPSnackbar CHANGELOG

Version 4.1.5

  • Added snackbar allowDuplicates

Version 4.1.4

  • Added more methods to delegate (will/did show, will/did hide)

Version 4.1.3

  • Return a default identifier for LPSnackBar

Version 4.1.2

  • Return LPSnackBar target in delegate

Version 4.1.0

  • New LPSnackManager

Version 3.1.0

  • Build with Swift 5.0

Version 3.0.0

  • Build with Swift 4.2.0

Version 2.1.2

  • Build with Swift 4.1.2

Version 2.1.1

  • Build with Swift 4.1

Version 2.1.0

  • Add support for safeAreaInsets, this guarantees that the snack will be placed within the correct frame, which fixes support for iPhone X.
  • To add support for safeAreaInsets, a new property adjustsPositionForSafeArea was added. With this set to true the snack will adjust it's position to fit within the correct frame.
  • Updated example project

Version 2.0.1

  • Add support for carthage by updating to shared scheme.

Version 2.0

Breaking changes and fixes.

  • Fix issue where same snack couldn't be dismissed then shown again. This is now possible.
  • Breaking API change to initializer for LPSnackbar, the initializers no longer take a displayDuration.
  • Removed displayDuration member from LPSnackbar.
  • Add displayDuration parameter to the show() method, works the same as before, but it is now in a more general place as display duration may now change whenever you present the snack.

Version 1.1.2

  • Fix issue where LPSnackbarView's subviews were not accessible with accessibility.

Version 1.1.1

  • Fix bug where displayTimer was not being invalidated when calling dismiss(animated:completeWithAction). This bug caused the SnackbarCompletion to be called twice.

Version 1.1.0

  • Add Equatable conformance to LPSnackbar
  • Add new parameter to dismiss(show:), completeWithAction: Bool which allows you to dismiss the LPSnackbar manually while also returning true for action in the SnackbarCompletion.

Version 1.0.0

Initial release