Proton is a simple library that allows you to extend the behavior of a text view to add rich content that you always wanted. It provides a simple API that allows you to extend the textView to include complex content like nested textViews or for that matter, any other UIView. In the simplest terms - It's what you always wanted UITextView to be. Be a standalone component with nothing that is specific to anything that is required in complex Text Editor. At its most basic form, it should be able to be used as a UITextView and in most complex form, it should be able to provide rich text editing capabilities which are beyond just text formatting. Should be extensible to support adding any view as content in the Editor such that it flows with the text. Resizing of content views should automatically resize the containing Editor and support this to nth nesting level. Should support extending the appearance of text as the content is typed.
Features
- Purely native and extensible rich text editor
- For iOS and macOS Catalyst apps
- Panel view
- Example usages
- Highlight using custom command in Editor
- Find text and scroll in Editor