InfoBarController
public final class InfoBarController : UIViewController
extension InfoBarController: ControllerConfiguration
extension InfoBarController: InfoBar
extension InfoBarController: SegueHandler
Manager of the strip informational strip between the keyboard and the SoundFont patches / favorites screens. Supports left/right swipes to switch the upper view, and two-finger left/right pan to adjust the keyboard range.
-
Undocumented
Declaration
Swift
public override func viewDidLoad()
-
Detect changes in orientation and adjust button layouts
Declaration
Swift
public override func willTransition(to newCollection: UITraitCollection, with coordinator: UIViewControllerTransitionCoordinator)
Parameters
newCollection
the new size traits
coordinator
the animation coordinator
-
Undocumented
Declaration
Swift
@IBAction func toggleMoreButtons(_ sender: UIButton)
-
Declaration
Swift
public func establishConnections(_ router: ComponentContainer)
-
Declaration
Swift
public func setEditVisibilityButtonEnabled(_ state: Bool)
-
Declaration
Swift
public var moreButtonsVisible: Bool { get }
-
Add an event target to one of the internal UIControl entities.
Declaration
Swift
public func addEventClosure(_ event: InfoBarEvent, _ closure: @escaping UIControl.Closure)
Parameters
event
the event to target
target
the instance to notify when the event fires
action
the method to call when the event fires
-
Declaration
Swift
public func resetButtonState(_ event: InfoBarEvent)
-
Set the text to temporarily show in the center of the info bar.
Declaration
Swift
public func setStatusText(_ value: String)
Parameters
value
the text to display
-
Set the range of keys to show in the bar
Declaration
Swift
public func setVisibleKeyLabels(from: String, to: String)
Parameters
from
the first key label
to
the last key label
-
Declaration
Swift
public func showMoreButtons()
-
Declaration
Swift
public func hideMoreButtons()
-
Undocumented
See moreDeclaration
Swift
public enum SegueIdentifier : String
-
Undocumented
Declaration
Swift
public override func prepare(for segue: UIStoryboardSegue, sender: Any?)