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

Adopt TextKit 2 (Explicitly) #153

Open
DominikBucher12 opened this issue Mar 1, 2024 · 0 comments
Open

Adopt TextKit 2 (Explicitly) #153

DominikBucher12 opened this issue Mar 1, 2024 · 0 comments
Labels
tech Internal tech fixes, refactorings etc.

Comments

@DominikBucher12
Copy link
Collaborator

We should move out of using NSLayoutManager and NSTextStorage and NSTextContainer in order to adopt TextKit2.

Currently I believe there must be some other fix to lines and style setting to don't than iterating through textStorage (or we can use new NSTextLayoutManager from TextKit 2 to access this)

The issue with TextKit1 is that it doesn't support native bullet points and numbered points with NSTextList API for a very convenient way to handle those.

Let's maybe wrap the NSLayoutManager for iOS 15 and for iOS 16 use NSTextLayoutManager 🆕🆕🆕

@DominikBucher12 DominikBucher12 added the tech Internal tech fixes, refactorings etc. label Mar 1, 2024
@DominikBucher12 DominikBucher12 changed the title Adopt TextKit 2 (The explicitly) Adopt TextKit 2 (Explicitly) Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech Internal tech fixes, refactorings etc.
Projects
None yet
Development

No branches or pull requests

1 participant