PSPDFToolbarSelectableButton

Objective-C


@interface PSPDFToolbarSelectableButton : PSPDFToolbarButton

Swift

class ToolbarSelectableButton : ToolbarButton

Undocumented

  • Shows the selected state, optionally animating the change.

    Declaration

    Objective-C

    - (void)setSelected:(BOOL)selected animated:(BOOL)animated;

    Swift

    func setSelected(_ selected: Bool, animated: Bool)
  • Selected tint color. Inferred from the parent toolbar by default.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        UI_APPEARANCE_SELECTOR UIColor *selectedTintColor;

    Swift

    var selectedTintColor: UIColor { get set }
  • Selection indicator bezel color. Defaults to tintColor (matches tintColor when set to nil).

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        UI_APPEARANCE_SELECTOR UIColor *selectedBackgroundColor;

    Swift

    var selectedBackgroundColor: UIColor { get set }
  • The selection view padding from the button edge. Automatically set to an appropriate value for PSPDFToolbar when negative (default).

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        CGFloat selectionPadding;

    Swift

    var selectionPadding: CGFloat { get set }
  • If yes, a the selection indicator will be faded in when the button is highlighted. Defaults to NO.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL highlightsSelection;

    Swift

    var highlightsSelection: Bool { get set }