danielsaidi / RichTextKit

RichTextKit is a Swift SDK that helps you use rich text in Swift and SwiftUI.
MIT License
885 stars 114 forks source link

[WIP] TextKit2 NSTextLayoutManager #154

Closed DominikBucher12 closed 4 months ago

DominikBucher12 commented 7 months ago

Implement TextKit2 because bullet points and numbered list looking really cool...

Need to use correctly TextKit2 API since it is a mess right now :D (getting int from debugDescription just to Proof the concept...)

With this, adding numbered and ordered list on iOS 16+ should be easy peasy.

DominikBucher12 commented 6 months ago

@danielsaidi need a little help in here...

not a macOS developer, but it appears public let scrollView = RichTextView.scrollableTextView() ruins setting custom stuff and the TextView is missing textlayoutManager, could you help me out? 😅

danielsaidi commented 5 months ago

@DominikBucher12 I'm going through my projects and noticed that you mentioned me - didn't see that before! How are your status with this? Are you still actively working with RTK features?

martindufort commented 4 months ago

Question: Why was this closed without being merged? Lack of time? Incomplete PR? Would really use bullet and numbered lists...

Thanks

danielsaidi commented 3 months ago

I'd love that as well, but the PR has been stale for some time, and has some merge conflicts. I'd be happy to re-open it when it becomes active again.

DominikBucher12 commented 2 months ago

In some close future, I will hopefully get my hands on this and properly implement this, lets see how it goes.