InfoBar
public protocol InfoBar : AnyObjectHandles the actions and display of items in a hypothetical info bar above the keyboard
- 
                  
                  Link a button / gesture event to a target/selector combination DeclarationSwift func addEventClosure(_ event: InfoBarEvent, _ closure: @escaping UIControl.Closure)Parameterseventthe event to link to closurethe closure to invoke when the event appears 
- 
                  
                  Show status information on the bar. This will appear temporarily and then fade back to the patch name. DeclarationSwift func setStatusText(_ value: String)Parametersvaluethe value to show 
- 
                  
                  Set the lowest and highest note labels of the keyboard DeclarationSwift func setVisibleKeyLabels(from: String, to: String)Parametersfromthe lowest note tothe highest note 
- 
                  
                  True if there are more buttons to be seen DeclarationSwift var moreButtonsVisible: Bool { get }
- 
                  
                  Show the remaining buttons DeclarationSwift func showMoreButtons()
- 
                  
                  Hide the remaining buttons DeclarationSwift func hideMoreButtons()
- 
                  
                  Reset a button state for a given event. Some buttons show an ‘active’ state while another piece of UI is visible. This provides a programatic way to reset the button to the ‘inactive’ state. DeclarationSwift func resetButtonState(_ event: InfoBarEvent)Parameterseventthe event associated with the button to reset 
- 
                  
                  Update the enabled state of the button that begins preset visibility editing. DeclarationSwift func setEditVisibilityButtonEnabled(_ state: Bool)Parametersstatestate to set the button to, true if currently editing preset visibility or false if not 
 View on GitHub
View on GitHub InfoBar Protocol Reference
        InfoBar Protocol Reference