All Versions
56
Latest Version
Avg Release Cycle
82 days
Latest Release
-

Changelog History
Page 3

  • v4.1.4 Changes

    May 25, 2018

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix #191 Prevent usage of UIApplication.shared when building for extensions

    ๐Ÿ‘Œ Improvements

    • โœ… #192 Add a way to test compilation with app extension
  • v4.1.3 Changes

    May 23, 2018

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ #183 Added iOS app extension support at compile time.

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix #185 Incorrect margin adjustments in landscape
    • ๐Ÿ›  Fix #188 Physics animation visual glitch
  • v4.1.2 Changes

    April 02, 2018

    4.1.2

    ๐Ÿ”‹ Features

    • โšก๏ธ Updates for Swift 4.1
    • #164 Added an optional windowViewController property to SwiftMessages.Config for supplying a custom subclass of WindowViewController.

    ๐Ÿ› Bug Fixes

    • ๐Ÿ’… Custom presentation styles using TopBottomAnimation now display properly under top and bottom bars.
  • v4.1.1 Changes

    ๐Ÿ”‹ Features

    • #152 Get current message being displayed without specifying an id
  • v4.1.0 Changes

    November 15, 2017

    ๐Ÿ”‹ Features

    • ๐Ÿ›  Fix #134 add support for CenterAnimation displayed on top or bottom instead of center (renamed to PhysicsAnimation).

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix #128 move icons out of asset catalog to prevent mysterious crash
    • ๐Ÿ›  Fix #129 adjust layout margins on orientation change to preserve layout when iOS hides status bar in landscape.
    • ๐Ÿ›  Fix #131 by always completing hide/show animations if application isn't active.
  • v4.0.0 Changes

    ๐Ÿ”‹ Features

    • Swift 4.0 syntax
    • โž• Added support for iOS 11 and iPhone X. From the readme:

    SwiftMessages 4 supports iOS 11 out-of-the-box with built-in support for safe areas. To ensur that message view layouts look just right when overlapping safe areas, views that adopt the MarginAdjustable protocol (like MessageView) will have their layout margins automatically adjusted by SwiftMessages. However, there is no one-size-fits-all adjustment, so the following properties were added to MarginAdjustable to allow for additional adjustments to be made to the layout margins:

      public protocol MarginAdjustable {
          ...
          /// Safe area top adjustment in iOS 11+
          var safeAreaTopOffset: CGFloat { get set }
          /// Safe area bottom adjustment in iOS 11+
          var safeAreaBottomOffset: CGFloat { get set }
      }
    

    If you're using using custom nib files or view classes and your layouts don't look quite right, try adjusting the values of these properties. BaseView (the super class of MessageView) declares these properties to be @IBDesignable and you can find sample values in the nib files included with SwiftMessages.

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix #100 memory leak.
    • ๐Ÿ”„ Change Layout enum capitalization to current Swift conventions.
  • v3.5.1 Changes

    ๐Ÿ› Bug Fixes

    • Undo change that broke MessageView class reference on nib files copied out of the SwiftMessages framework.
  • v3.5.0 Changes

    ๐Ÿ”‹ Features

    • โž• Added SwiftMessages.hideCounted(id:) method of hiding. The counted method hides when the number of calls to show() and hideCounted(id:) for a given message ID are equal. This can be useful for messages that may be ๐Ÿ‘‰ shown from multiple code paths to ensure that all paths are ready to hide.

    Also added SwiftMessages.count(id:) to get the current count and SwiftMessages.set(id:count:) to set the current count.

    • โž• Added ways to retrieve message views currently being shown, hidden, or queued to be shown.
      // Get a message view with the given ID if it is currently 
      // being shown or hidden.
      if let view = SwiftMessages.current(id: "some id") { ... }
    
      // Get a message view with the given ID if is it currently 
      // queued to be shown. 
      if let view = SwiftMessages.queued(id: "some id") { ... }
    
      // Get a message view with the given ID if it is currently being
      // shown, hidden or in the queue to be shown.
      if let view = SwiftMessages.currentOrQueued(id: "some id") { ... }
    

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix #116 for message views that don't adopt the Identifiable protocol by using the memory address as the ID.
    • ๐Ÿ›  Fix #113 MessageView not hiding
    • ๐Ÿ›  Fix #87 Support manual install
  • v3.4.0 Changes

    ๐Ÿ”‹ Features

    • โž• Added .center presentation style with a physics-based dismissal gesture.
    • โž• Added .custom(animator:) presentation style, where you provide an instance of the Animator protocol. The TopBottomAnimation and CenterAnimation animations both implement Animator and may be subclassed (configuration options will be added in a future release). PhysicsPanHandler class to provide a physics-based dismissal gesture.
    • โž• Added .centered message view layout with elements centered and arranged vertically.
    • โž• Added configureBackgroundView(width:) and configureBackgroundView(sideMargin:) convenience methods to MessageView.
  • v3.3.4 Changes

    ๐Ÿ”‹ Features

    • #89 Add blur dim mode option.

    ๐Ÿ› Bug Fixes

    • #98 Fix touch handling in message view's background view.
    • โš  #97 Fix main thread checker warning