https://github.com/krzyzanowskim/sttextview-plugin-template
Template Plugin repository for STTextView
https://github.com/krzyzanowskim/sttextview-plugin-template
plugin sttextview textview
Last synced: about 1 year ago
JSON representation
Template Plugin repository for STTextView
- Host: GitHub
- URL: https://github.com/krzyzanowskim/sttextview-plugin-template
- Owner: krzyzanowskim
- License: unlicense
- Created: 2023-08-21T09:39:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-13T15:59:06.000Z (over 2 years ago)
- Last Synced: 2024-04-14T07:11:18.869Z (about 2 years ago)
- Topics: plugin, sttextview, textview
- Language: Swift
- Homepage: https://github.com/krzyzanowskim/STTextView?tab=readme-ov-file#plugins
- Size: 20.5 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## [STTextView](https://github.com/krzyzanowskim/STTextView) Plugin Template
This is a template repository for [STTextView](https://github.com/krzyzanowskim/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](https://github.com/krzyzanowskim/STTextView), ready to play with a Plugin.
1. Add a plugin as an app dependency
2. Add plugin to [STTextView](https://github.com/krzyzanowskim/STTextView) instance in file [EditorViewController.swift](DemoApp/EditorViewController.swift#L21)
```swift
import MyPlugin
textView.addPlugin(
MyPlugin()
)
```