PTEmptyTableViewAlignment

enum PTEmptyTableViewAlignment {}

Constants that indicate how to align the contents of a PTEmptyTableViewIndicator view.

The vertical alignment options are mutually exclusive to each other, and likewise for the horizontal alignment options.

  • Align to the top edge of the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentTop = 1 << 0

    Swift

    static var top: PTEmptyTableViewAlignment { get }
  • Align centered vertically in the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentCenteredVertically = 0
  • Align to the bottom edge of the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentBottom = 1 << 1

    Swift

    static var bottom: PTEmptyTableViewAlignment { get }
  • Align to the left edge of the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentLeft = 1 << 2

    Swift

    static var left: PTEmptyTableViewAlignment { get }
  • Align centered horizontally in the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentCenteredHorizontally = 0
  • Align to the right edge of the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentRight = 1 << 3

    Swift

    static var right: PTEmptyTableViewAlignment { get }
  • Align to the leading edge of the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentLeading = 1 << 4

    Swift

    static var leading: PTEmptyTableViewAlignment { get }
  • Align to the trailing edge of the view.

    Declaration

    Objective-C

    PTEmptyTableViewAlignmentTrailing = 1 << 5

    Swift

    static var trailing: PTEmptyTableViewAlignment { get }