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)
-
The selection view padding from the button edge. Automatically set to an appropriate value for
PSPDFToolbar
when negative (default).Declaration
Objective-C
@property (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 (nonatomic) BOOL highlightsSelection;
Swift
var highlightsSelection: Bool { get set }