Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.0 #452

Closed
4 tasks done
rechsteiner opened this issue Mar 12, 2020 · 6 comments
Closed
4 tasks done

Version 3.0 #452

rechsteiner opened this issue Mar 12, 2020 · 6 comments
Labels

Comments

@rechsteiner
Copy link
Owner

rechsteiner commented Mar 12, 2020

The next major version of Parchment aims to include the following features:

  • SwiftUI support (Add wrapper for SwiftUI #460)
    It would be nice to provide a SwiftUI wrapper for Parchment. Need to figure out the API for this, but it looks like it should be possible without too many changes.

  • Self-sizing cells (Add support for self-sizing cells #461)
    Today, if you want the menu items to be based on the cell's content you need to implement the widthForPagingItem delegate method and manually calculate the size (See SizeDelegateViewController.swift). With self-sizing cells the menu item size would be automatically calculated based on the constraints of your cells.

  • Custom PageViewController (Custom page view controller #468)
    Parchment has been using EMPageViewController as a replacement for UIPageViewController to get better delegate methods. This has been working great, but it's a bit hard to make changes and improvements to the implementation. There's also been a few issues that would be nice to get fixed:

    Making our own PageViewController would make it easier to add additional features and write tests to ensure that it's behaving correctly. It would also be nice to remove any third-party dependencies from Parchment.

  • RTL language support (Custom page view controller #468)
    Parchment currently doesn't support right-to-left languages. There's a few ways to work around this (RTL Support  #161), but it should be supported out-of-the-box. The new page view controller implementation should make this possible.

@rechsteiner
Copy link
Owner Author

Decided to remove vertical layouts from the 3.0 release. A pre-release of 3.0 is now available: https://github.com/rechsteiner/Parchment/releases/tag/v3.0.0-beta. Please let me know if anyone finds any issues

@sgmtal
Copy link

sgmtal commented Sep 27, 2020

I have tried this new version with iOS 14 and I get 2 errors ... any ideas? I think it would be solved by adding import UIKit..

Captura de pantalla 2020-09-27 a las 18 27 51

Captura de pantalla 2020-09-27 a las 18 28 01

@rechsteiner
Copy link
Owner Author

Thanks for letting me know @sgmtal! There's a new beta release out now called 3.0.0-beta2: https://github.com/rechsteiner/Parchment/releases/tag/v3.0.0-beta2

@rocxteady
Copy link
Contributor

Screen Shot 2020-09-29 at 13 22 14

I am getting this errors. Can you help?

@rechsteiner
Copy link
Owner Author

Hi @rocxteady! I'm not able to reproduce that error you are seeing. I've tried setting up multiple fresh projects, but all the different ways of installing seems fine. Could you share a bit more on your setup?

@rechsteiner rechsteiner mentioned this issue Dec 3, 2020
@rechsteiner
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants