Parchment v3.0.0 Release Notes

Release Date: 2020-12-03 // about 2 months ago
  • ๐Ÿ”„ 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


Previous changes from v3.0.0-beta2

  • ๐Ÿ›  Fixed an issue building due to missing imports #526