Processing Controls

The processing controls have been deprecated and will be removed in the next major release.

MimiSDK provides some pre-built UIKit components that can be used to interact directly with the active processing handler.

MimiProcessingToggle

MimiProcessingToggle is a UIView that allows a user to enable/disable processing on the active processing handler. It consists of an embedded ‘pill’ shaped toggle button that can be selected by the user to toggle its value.

Usage

import MimiSDK

let toggle = MimiProcessingToggle()
addSubview(toggle)

All state is automatically handled within MimiProcessingToggle. The view will also conform to the applied MimiTheme and offers no public customization.

MimiProcessingIntensitySlider

MimiProcessingIntensitySlider is a UIView that allows a user to manipulate the current processing intensity level, providing that processing is enabled on the active processing handler. It consists of an embedded slider which the user can directly interact with to manipulate the intensity value.

Usage

import MimiSDK

let slider = MimiProcessingIntensitySlider()
addSubview(slider)

All state is automatically handled within MimiProcessingIntensitySlider. The view will also conform to the applied MimiTheme and offers no public customization.