PSPDFToolbarSelectableButton

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 (assign, readwrite, nonatomic) UIColor *_Nonnull selectedTintColor;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var selectedBackgroundColor: NSColor { 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 (assign, readwrite, nonatomic) 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 (assign, readwrite, nonatomic) BOOL highlightsSelection;

    Swift

    var highlightsSelection: Bool { get set }