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 their backgroundView assigned to a CornerRoundingView. CornerRoundingView provides a roundsLeadingCorners 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
    • ๐Ÿ”ง 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 and hideDuration properties to the Animator protocol (with default implementation that returns nil). These values enable animations to work for view controller presentation.

    ๐Ÿ›  Fixes

    • #202 bodyLabel should set textAlignment to .natural
    • #200 Automatic Presentation Context Broken
    • ๐Ÿ›  Fix default value of TopBottomAnimation.closePercentThreshold