PTToolGroupIndicatorView
@interface PTToolGroupIndicatorView : UIView
The PTToolGroupView displays the current tool group of a PTToolGroupManager
instance.
-
Intializes a
PTToolGroupIndicatorViewinstance with the given frame.Declaration
Objective-C
- (nonnull instancetype)initWithFrame:(CGRect)frame;Swift
init(frame: CGRect)Parameters
frameThe frame of the view.
Return Value
An initialized
PTToolGroupIndicatorViewinstance. -
Intializes a
PTToolGroupIndicatorViewinstance with a decoder.Declaration
Objective-C
- (nullable instancetype)initWithCoder:(nonnull NSCoder *)coder;Swift
init?(coder: NSCoder)Parameters
coderThe decoder object.
Return Value
An initialized
PTToolGroupIndicatorViewinstance, ornilif decoding failed. -
The button shown by this view to indicate the current tool group. The button’s text is updated to display the current tool group when it changes.
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIButton *_Nonnull button;Swift
var button: UIButton { get } -
The tool group manager associated with this view.
Declaration
Objective-C
@property (nonatomic, strong, nullable) PTToolGroupManager *toolGroupManager;Swift
var toolGroupManager: PTToolGroupManager? { get set }
PTToolGroupIndicatorView Class Reference