TitledSupplementaryView

public final class TitledSupplementaryView : UICollectionReusableView

A TitledSupplementaryView is a UICollectionReusableView subclass with a single UILabel. It is intended for use as an analog to a UITableView header title. These views can be used with TitledSupplementaryViewConfig.

Properties

  • The label of the reusable view.

    Declaration

    Swift

    public private(set) var label: UILabel
  • The vertical layout insets for the label. The default value is 8.

    Declaration

    Swift

    public var verticalInset: CGFloat { get set }
  • The horizontal layout insets for the label. The default value is 8.

    Declaration

    Swift

    public var horizontalInset: CGFloat { get set }

Class properties

  • The default string used to identify instances of TitledSupplementaryView.

    Declaration

    Swift

    public class var identifier: String { get }