PTToolGroupTableViewCell


@interface PTToolGroupTableViewCell : UITableViewCell

A table view cell used to display a PTToolGroup in a table view.

  • Initializes a PTToolGroupTableViewCell instance.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStyle:(UITableViewCellStyle)style
                          reuseIdentifier:(nullable NSString *)reuseIdentifier;

    Swift

    init(style: UITableViewCell.CellStyle, reuseIdentifier: String?)

    Parameters

    style

    This parameter is unused.

    reuseIdentifier

    The reuse identifier for the cell.

    Return Value

    An initialized PTToolGroupTableViewCell instance.

  • Undocumented

    Declaration

    Objective-C

    - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
  • The image view that displays the tool group’s icon.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UIImageView *_Nonnull iconImageView;

    Swift

    var iconImageView: UIImageView { get }
  • The label that displays the title of the tool group.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UILabel *_Nonnull titleLabel;

    Swift

    var titleLabel: UILabel { get }
  • A view positioned after the image view and label, which can be used to display other custom views.

    The subviews of this view are cleared when the cell is reused by the table view (in -prepareForReuse).

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UIView *_Nonnull trailingContentView;

    Swift

    var trailingContentView: UIView { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong, nullable) UIImageView *imageView
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong, nullable) UILabel *textLabel
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong, nullable) UILabel *detailTextLabel