SwiftMessages v5.0.0 Release Notes
Release Date: 2018-08-29 // over 5 years ago-
๐ฅ Breaking Changes
- โ Removed support for iOS 8.
๐ Features
- โ Add support for modal view controller presentation using
SwiftMessagesSegue
custom segue subclass. Try it out in the "View Controllers" section of the Demo app. In addition to the class documentation, more can be found in the View Controllers readme. - โก๏ธ Update nib files to be more visually consistent with iPhone X:
- Introduce
CornerRoundingView
, which provides configurable corner rounding using squircles (the smoother method of rounding corners that you see on app icons). Nib files that feature rounded corners have theirbackgroundView
assigned to aCornerRoundingView
.CornerRoundingView
provides aroundsLeadingCorners
option to dynamically round only the leading corners of the view when presented from top or bottom (a feature used for the tab-style layouts). - Increased the default corner radius to 20. Corner radius can be changed by either modifying the nib file or
- Introduce
- ๐ง Reworked the
MarginAdjustable
to improve configurability of layout margins. - โ Add rubber-banding to the interactive dismissal gesture. Rubber banding is automatically applied for views where
backgroundView
is inset from the message view's edges. - โ Added
showDuration
andhideDuration
properties to theAnimator
protocol (with default implementation that returnsnil
). These values enable animations to work for view controller presentation.
๐ Fixes