open class FUIBarButtonItem : UIBarButtonItem

FUIBarButtonItem is an enhanced UIBarButtonItem to provide a way to specify the image to be displayed based on the state when title is nil or empty.

For now, only normal and disabled states are used.

  • Sets the image for the specified control state.

    Setting the image property is the same as setting the image for the .normal state.



    public func setImage(_ image: UIImage?, for state: FUIControlState)