UIBarButtonItem
extension UIBarButtonItem
-
Initializes a new bar button item using the specified configuration.
Declaration
Swift
public convenience init(config: DismissButtonConfig, target: AnyObject?, action: Selector)Parameters
configThe configuration for the item.
targetThe object that receives the action message.
actionThe action to send to target when this item is selected.
Return Value
A new bar button item instance.
View on GitHub
UIBarButtonItem Extension Reference