PresenterKit v4.0.0 Release Notes

Release Date: 2017-09-23 // over 6 years ago
  • ๐Ÿš€ This release closes the 4.0.0 milestone.

    ๐Ÿ’ฅ Breaking changes

    • Converted to Swift 4

    • ๐Ÿš€ iOS 9 minimum deployment target

    • public struct PopoverConfig was changed to accommodate custom frame so it can be used as anchor for the popover. (#27, #26, @psartzetakis)

      • PopoverConfig.Source.view(_) was changed to PopoverConfig.Source.view(container: frame:)
    • public struct DismissButtonConfig was changed to accommodate custom images in bar button items. (#24, #22, @psartzetakis)

      • DismissButtonConfig.text was renamed to DismissButtonConfig.content
      • public enum DismissButtonConfig.Text was renamed to public enum DismissButtonConfig.Content and it now has 3 cases: .systemItem, .text, .image
      • DismissButtonConfig.init(location: style: text:) was renamed to DismissButtonConfig.init(location: style: content:)

    ๐Ÿ†• New

    • โž• Added support for completion closure parameter on present(..) method. (#21, @Sumolari)