RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing.
This is the official Swift 3 release, right in time for Swift 4!
While the swift-3
branch, and the master
branch have been on Swift 3 for a while, it seemed like a good time to release this.
There are a number of API changes that were made to make the API more Swifty (hopefully).
Very small update, with some very nice changes.
Getters are now publicly available for the following properties on RichEditorView:
Since Swift 2.0 is a breaking update to Swift 1.2, this is a breaking update from 1.2.0. Interesting how the versions matched up :smirk:
Most of the breaking changes are due to the language itself, but here are some changes that actually happened to the API:
inputAccessoryView
-- easier toolbar management.richEditorShouldInteractWithURL:
has been renamed richEditor:shouldInteractWithURL
so you get a reference to the editor, to make it consistent with the other methods.