SupplementaryViewInfo
public struct SupplementaryViewInfo : Equatable
Metadata thats required for setting up a supplementary view.
-
The registration info for the supplementary view.
Declaration
Swift
public let registrationInfo: ViewRegistrationInfo -
The kind of supplementary view (e.g.
headerorfooter)Declaration
Swift
public let kind: SupplementaryViewKind -
TableViewDataSourceandCollectionViewDataSourcewill automatically apply anaccessibilityIdentifierto the supplementary view based on this format.Declaration
Swift
public let accessibilityFormat: SupplementaryAccessibilityFormat -
Initializes the metadata for a supplementary view.
Declaration
Swift
public init( registrationInfo: ViewRegistrationInfo, kind: SupplementaryViewKind, accessibilityFormat: SupplementaryAccessibilityFormat )Parameters
registrationInfoThe registration info for the view.
kindThe kind of supplementary view (e.g.
headerorfooter)accessibilityFormatA format string that generates an accessibility identifier for the view that will be mapped to this view model.
View on GitHub
SupplementaryViewInfo Structure Reference