Parchment v3.0.1 Release Notes

Release Date: 2020-12-15 // 10 months ago
  • 🛠 Fixes

    • 🛠 Fix layout issue in PageViewController #543
    • 🛠 Fix crash when using UIColor(patternImage:) #544

Previous changes from v3.0.0

  • 🔄 Changes:

    • Custom PageViewController (#468)
    • 👍 RTL language support (#468)

    This version introduces some breaking changes:

    Replaced EMPageViewController

    🛠 EMPageViewController has been replaced with our own PageViewController implementation, which fixes a bunch of issues (#524, #527, #426). The API of the new page view controller is pretty much identical to the old one, but the names of the types have changed:

    open class PagingViewController: UIViewController, UICollectionViewDelegate,- EMPageViewControllerDataSource,- EMPageViewControllerDelegate {+ PageViewControllerDataSource,+ PageViewControllerDelegate {- public let pageViewController: EMPageViewController+ public let pageViewController: PageViewController- open func em\_pageViewController(\_ pageViewController: EMPageViewController, viewControllerBeforeViewController viewController: UIViewController) -\> UIViewController? {+ open func pageViewController(\_ pageViewController: PageViewController, viewControllerBeforeViewController viewController: UIViewController) -\> UIViewController? {- open func em\_pageViewController(\_ pageViewController: EMPageViewController, viewControllerAfterViewController viewController: UIViewController) -\> UIViewController? {+ open func pageViewController(\_ pageViewController: PageViewController, viewControllerAfterViewController viewController: UIViewController) -\> UIViewController? {- open func em\_pageViewController(\_ pageViewController: EMPageViewController, isScrollingFrom startingViewController: UIViewController, destinationViewController: UIViewController?, progress: CGFloat) {+ public func pageViewController(\_ pageViewController: PageViewController, isScrollingFrom startingViewController: UIViewController, destinationViewController: UIViewController?, progress: CGFloat) {- open func em\_pageViewController(\_ pageViewController: EMPageViewController, willStartScrollingFrom startingViewController: UIViewController, destinationViewController: UIViewController) {+ public func pageViewController(\_ pageViewController: PageViewController, willStartScrollingFrom startingViewController: UIViewController, destinationViewController: UIViewController) {- open func em\_pageViewController(\_ pageViewController: EMPageViewController, didFinishScrollingFrom startingViewController: UIViewController?, destinationViewController: UIViewController, transitionSuccessful: Bool) {+ open func pageViewController(\_ pageViewController: PageViewController, didFinishScrollingFrom startingViewController: UIViewController, destinationViewController: UIViewController, transitionSuccessful: Bool) {}
    

    🚀 More details about the release can be found here: #452