PTAnnotStyleToolbar

The PTAnnotStyleToolbar class displays a PTAnnotationStylePresetsGroup for controlling the selected annotation style preset. The selected annotation style preset can be edited by tapping on it.

  • Initializes a newly created PTAnnotStyleToolbar instance with the specified tool manager.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithToolManager:
        (nonnull PTToolManager *)toolManager;

    Swift

    init(toolManager: PTToolManager)

    Parameters

    toolManager

    the tool manager to be used by the receiver

    Return Value

    an initialized PTAnnotStyleToolbar instance

  • The tool manager used by the toolbar.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) PTToolManager *toolManager;

    Swift

    var toolManager: PTToolManager? { get set }