STTextView Annotations Plugin
Add the plugin package as a dependency of your application, then register/add it to the STTextView instance:
import STAnnotationsPlugin
// Implement AnnotationsDataSource protocol to provide annotations
let plugin = STAnnotationsPlugin(dataSource: self)
// Add/register the plugin in the STTextView instance
textView.addPlugin(plugin)
Check DemoApp for a reference implementation.