TwitterTextEditor icon indicating copy to clipboard operation
TwitterTextEditor copied to clipboard

The SwiftUI story/relation of this library

Open Jeehut opened this issue 3 years ago • 3 comments

This library was just released and while it looks interesting, many people are currently in the process of switching to SwiftUI and figuring out how things should/could be done in a SwiftUI world. While UIKit will be around for a while, I think it would be great to also add an official wrapper for the TwitterTextEditor with proper bindings and well thought through API also for SwiftUI alongside documentation examples and tests. It might still be "UIKit-first" as it was obviously designed with that in mind, but I would appreciate to see some love for SwiftUI users or at least a clarification if you have plans to get this working with SwiftUI as well. If not, the community could come up with their own wrapper library.

Thank you for sharing this and sorry for asking this question so early after its release. I'm not trying to say "please add SwiftUI support ASAP", I just want to know how you see that topic so I can better decide what to do if I need a feature like this in one of my SwiftUI apps.

Jeehut avatar Jan 29 '21 21:01 Jeehut

Thank you so much for asking about SwiftUI and I totally agree what you mentioned.

It is not exceptional to us being in the process of switching to SwiftUI, and supporting SwiftUI APIs alongside UIKit is definitely a missing thing in current version, and it is definitely in the plan to add a bridge between UIKit API and SwiftUI API in some form. I can’t provide exact timeline right now and can’t promise it however, it is high priority in my mind alongside bug fixes. Personally want to explore this very soon.

And as always, any suggestions or ideas to support any efforts are very welcome, includes this issue itself.

niw avatar Feb 01 '21 17:02 niw

Just began building my first production SwiftUI app. Need a text editor and came looking here as I remembered seeing it in the past. Just in case this hasn't received enough traction, I'm very interested in a SwiftUI version

bryan1anderson avatar Mar 20 '22 18:03 bryan1anderson

Hello guys! Any news/updates? thanks

alexanderkhitev avatar Mar 16 '24 16:03 alexanderkhitev