STTextView Annotations Plugin

STTextView Annotations Plugin

Installation

Add the plugin package as a dependency of your application, then register/add it to the STTextView instance:

import AnnotationsPlugin

// Implement AnnotationsDataSource protocol to provide annotations
annotationsPlugin = AnnotationsPlugin(dataSource: self)

textView.addPlugin(
    annotationsPlugin
)

Check DemoApp for reference implementation

GitHub

View Github