PTEmptyTableViewIndicator


@interface PTEmptyTableViewIndicator : UIView

A view used to indicate that the contents of a table or collection view are empty. Assigning an instance of this class to the backgroundView property of a UITableView or UICollectionView will display the indicator as a non-scrolling subview. Adding an instance of this class as a subview to a table or collection view will make it scroll with the scroll view.

  • The content view of the empty indicator.

    Declaration

    Objective-C

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

    Swift

    var contentView: UIView { get }
  • The image view displayed by the indicator.

    Declaration

    Objective-C

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

    Swift

    var imageView: UIImageView { get }
  • The label displayed by the indicator.

    Declaration

    Objective-C

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

    Swift

    var label: UILabel { get }