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
newCollectionthe new size traits
coordinatorthe 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
eventthe event to target
targetthe instance to notify when the event fires
actionthe 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
valuethe text to display
-
Set the range of keys to show in the bar
Declaration
Swift
public func setVisibleKeyLabels(from: String, to: String)Parameters
fromthe first key label
tothe 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?)
View on GitHub
InfoBarController Class Reference