PTToolGroupDefaultsViewController


@interface PTToolGroupDefaultsViewController : UITableViewController

The PTToolGroupDefaultsViewController class allows the user to edit the items in a tool group. If more than one tool group is specified in the itemGroups property, then items can be added to the first tool group from the other groups.

  • The tool group manager associated with this view controller.

    The default value of this property is nil.

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite, nullable)
        PTToolGroupManager *toolGroupManager;

    Swift

    var toolGroupManager: PTToolGroupManager? { get set }
  • The tool groups to be edited.

    The default value of this property is nil.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite, nullable)
        NSArray<PTToolGroup *> *itemGroups;

    Swift

    var itemGroups: [PTToolGroup]? { get set }
  • The tint color to be applied to the item icons. This property can be used to provide a different tint color for the icons from the tint color applied to other interface elements.

    The default value of this property is nil.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        UIColor *iconTintColor;

    Swift

    var iconTintColor: UIColor? { get set }