MacOS_PreferencesViewController
@MainActor
class MacOS_PreferencesViewController : MacOS_Base_ViewController
extension MacOS_PreferencesViewController: NSTextViewDelegate
This is the Preferences/Settings modal screen.
-
The checkbox that allows scanning to include Peripherals with no names.
Declaration
Swift
@IBOutlet @MainActor weak var allowEmptyNamesCheckbox: NSButton! -
The checkbox that allows non-connectbale device to be read (or only connectable)
Declaration
Swift
@IBOutlet @MainActor weak var onlyConnectableCheckbox: NSButton! -
The checkbox that ensures that all linefeeds/carriage returns be sent as a full CRLF pair.
Declaration
Swift
@IBOutlet @MainActor weak var alwaysUseCRLFCheckbox: NSButton! -
The label for the RSSI slider.
Declaration
Swift
@IBOutlet @MainActor weak var minimumRSSILabel: NSTextFieldCell! -
The label for the low end of the slider.
Declaration
Swift
@IBOutlet @MainActor weak var minimumRSSIFixedLabel: NSTextFieldCell! -
The label that displays the current slider value.
Declaration
Swift
@IBOutlet @MainActor weak var rssiValueLabel: NSTextFieldCell! -
The label for the upper end of the slider.
Declaration
Swift
@IBOutlet @MainActor weak var maximumRSSIFixedLabel: NSTextFieldCell! -
The slider.
Declaration
Swift
@IBOutlet @MainActor weak var minimumRSSISlider: NSSlider! -
The label for the filters section.
Declaration
Swift
@IBOutlet @MainActor weak var filterUUIDsLabel: NSTextFieldCell! -
The label for the devices filter.
Declaration
Swift
@IBOutlet @MainActor weak var deviceFiltersLabel: NSTextFieldCell! -
The devices text view.
Declaration
Swift
@IBOutlet @MainActor var deviceFilterTextView: NSTextView! -
The label for the services filter.
Declaration
Swift
@IBOutlet @MainActor weak var serviceFiltersLabel: NSTextFieldCell! -
The services filter text view.
Declaration
Swift
@IBOutlet @MainActor var serviceFiltersTextView: NSTextView! -
The label for the characteristic text view.
Declaration
Swift
@IBOutlet @MainActor weak var characteristicsFiltersLabel: NSTextFieldCell! -
The Characteristic text view.
Declaration
Swift
@IBOutlet @MainActor var characteristicsFiltersTextView: NSTextView!
-
Called when the RSSI slider changes value.
Declaration
Swift
@IBAction @MainActor func minimumRSSIChanged(_ inSlider: NSSlider)Parameters
inSliderThe RSSI slider object.
-
Called when the view hierachy has loaded.
Declaration
Swift
@MainActor override func viewDidLoad() -
Called when the view is about to go away.
Declaration
Swift
@MainActor override func viewWillDisappear() -
Sets up all the accessibility items.
Declaration
Swift
@MainActor override func setUpAccessibility()
-
Called to force the UI elements and accessibility to update.
Declaration
Swift
@IBAction @MainActor func updateUI(_: Any! = nil)
-
Called when text in one of the text items changes.
Declaration
Swift
@MainActor func textDidChange(_: Notification)
View on GitHub