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

Migrate from NSLayoutManager to NSTextLayoutManager #524

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

tomekzaw
Copy link
Collaborator

@tomekzaw tomekzaw commented Oct 18, 2024

Details

Closes #145.

Caution

NSTextLayoutManager is available since iOS 16. On older versions of iOS, blockquote ribbon will not be drawn.

Related Issues

GH_LINK

Manual Tests

Linked PRs

@maksg
Copy link
Contributor

maksg commented Nov 4, 2024

I think that maybe we should consider leaving previous solution as a fallback for iOS versions lower than 16. iOS 16 is a very recent update so it is possible that someone would want to use this on earlier versions.

Other than that this PR looks great in my opinion! 🎉

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

Successfully merging this pull request may close these issues.

Migrate away from TextKit 1 to TextKit 2
2 participants