Skip to content
This repository has been archived by the owner on Nov 7, 2021. It is now read-only.

Releases: jessesquires/PresenterKit

6.1.3

02 Nov 23:00
77d4e2c
Compare
Choose a tag to compare

⚠️ This library is now deprecated ⚠️

6.1.1

25 Sep 20:26
e3974b8
Compare
Choose a tag to compare

This release closes the 6.1.1 milestone.

  • Upgraded to Xcode 12 and Swift 5.3

6.1.0

18 Apr 20:13
db34212
Compare
Choose a tag to compare

This release closes the 6.1.0 milestone.

New

  • Added a new custom presentation controller, HalfModalPresentationController
  • Support for Swift Package Manager

Changed

  • Upgrade to Swift 5.2
  • Update to Xcode 11.4
  • Upgrade SwiftLint
  • Switch to GH Actions

6.0.0

21 Sep 19:27
cad260b
Compare
Choose a tag to compare

This release closes the 6.0.0 milestone.

Breaking

  • iOS 11 minimum deployment target (Dropped iOS 10)
  • Renamed present() function to presentController() to avoid ambiguous naming with UIKit

Changed

  • Swift 5.1
  • Xcode 11
  • Upgrade Swiftlint to 0.35.0, add new rules
  • Update Travis CI

5.1.0

09 Nov 16:02
870cfa5
Compare
Choose a tag to compare

This release closes the 5.1.0 milestone.

  • Upgrade to Swift 4.2
  • Xcode 10.1
  • Upgrade Swiftlint to 0.27.0

5.0.0

09 Jul 01:37
cabfac9
Compare
Choose a tag to compare

This release closes the 5.0.0 milestone.

Breaking

  • Swift 4.1
  • iOS 10 minimum deployment target (Dropped iOS 9)
  • Xcode 9.4
  • Upgrade Swiftlint to 0.26.0
  • Renamed dismiss() function to dismissController() to avoid ambiguous naming with UIKit (#41)

Fixed

  • Respect transition context .isCancelled when pushing on a navigation stack (#38)

New

  • Add new pop() method extension on UINavigationController that accepts a completion parameter. Similar to existing push() method (#40)

  • Added completion parameter to dismiss() method extension on UIViewController (#41)

4.0.0

23 Sep 23:50
Compare
Choose a tag to compare

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:)

3.0.0

30 Sep 12:36
aefc465
Compare
Choose a tag to compare

This release closes the 3.0.0 milestone.

Swift 3.0 now required.

Changes

  • presentViewController(_:, type:, animated:) was renamed to present(_:, type:, animated:)

New

  • Added a .none case to PresentationType which uses UIKit defaults. Use this when presenting system controllers like UIAlertController.

Bug fixes

  • Fixed bug in withStyles() where modal presentation/transition styles might not be applied correctly (#24).

2.0.0

21 Sep 10:30
Compare
Choose a tag to compare

This release closes the 2.0.0 milestone.

Swift 2.3 now required.

1.0.0

08 Apr 06:17
Compare
Choose a tag to compare

Initial release 🎉