Bionic Reading
License Key
A valid license key needs to be set for the framework to work correctly, see BionicReadingSettings.shared.key
.
String Extension
Use this for simply converting plaintext or HTML strings.
WebView Extension
Use this if you want to enable Bionic Reading in a WKWebView
.
Settings
If you ommit values for fixation
, saccade
and opacity
for any method of the framework, it will use the values from BionicReadingSettings
(stored in UserDefaults
).
BionicReader
If you want to convert anything else than plaintext or HTML to Bionic Reading HTML, you can use a BionicReader
instance to manually process any input. It doesn’t do any parsing for you, just handles the conversion of plaintext to Bionic Reading HTML. That said, the same could be achieved by just using the String
extension if you make sure to process single paragraphs one after another. When using the BionicReader
, this is done by calling newTextBlock()