BionicReadingSettings
public class BionicReadingSettings : NSObject
-
Declaration
Swift
public static let shared: BionicReadingSettings
-
Declaration
Swift
public static let didChangeNotification: Notification.Name
-
API key
Important
This needs to be set to a valid API key. The provided key won’t be persisted which means you have to make sure it’s set on every app launch.
Declaration
Swift
public var key: String?
-
Fixation
Clamped to the value range
1...5
Note
UserDefaults.standard.bionicReadingFixation
Declaration
Swift
public var fixation: Int { get set }
-
Saccade
Clamped to the value range
1...5
Note
UserDefaults.standard.bionicReadingSaccade
Declaration
Swift
public var saccade: Int { get set }
-
Opacity
Clamped to the value range
80...100
Note
UserDefaults.standard.bionicReadingOpacity
Declaration
Swift
public var opacity: Int { get set }