Skip to content

krzyzanowskim/STTextView-Plugin-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STTextView Plugin Template

This is a template repository for STTextView Plugin. It consists of a Dummy Plugin implementation that is a good starting point for a new Plugin.

Content

  1. DummyPlugin SwiftPM package
  2. Companion DemoApp with the setup STTextView, ready to play with a Plugin.
    1. Add a plugin as an app dependency
    2. Add plugin to STTextView instance in file EditorViewController.swift
    import MyPlugin
    
    textView.addPlugin(
      MyPlugin()
    )