- Added
.center
presentation style with a physics-based dismissal gesture. - Added
.custom(animator:)
presentation style, where you provide an instance of theAnimator
protocol. TheTopBottomAnimation
andCenterAnimation
animations both implementAnimator
and may be subclassed (configuration options will be added in a future release). You may use thePhysicsPanHandler
class to incorporate a physics-based dismissal gesture into any custom animator. - Added
.centered
message view layout with elements centered and arranged vertically. - Added
configureBackgroundView(width:)
andconfigureBackgroundView(sideMargin:)
convenience methods toMessageView
.