UITextView weird behavior
I just wrote this SwiftUI or UiKit Editor with basic line numbers. I works pretty well, but has a major flaw. Whenever the variable behind the text value changes the editor messes up. This is pretty difficult to explain so I am going to give a quick example.
UITextViewRepresentable weird behavior
I just wrote this SwiftUI or UiKit Editor with basic line numbers. I works pretty well, but has a major flaw. Whenever the variable behind the text value changes the editor messes up. This is pretty difficult to explain so I am going to give a quick example.