ViewRegistrationMethod

public enum ViewRegistrationMethod : Hashable, Sendable

The method by which to register a view for reuse in a UICollectionView.

  • Registration for a class-based view.

    Declaration

    Swift

    case viewClass(AnyClass)
  • Registration for a nib-based view.

    Declaration

    Swift

    case nib(name: String, bundle: Bundle?)