ViewRegistrationMethod

public enum ViewRegistrationMethod

The method for registering cells and supplementary views

  • Class-based views

    Declaration

    Swift

    case fromClass(AnyClass)
  • Nib-based views

    Declaration

    Swift

    case fromNib(name: String, bundle: Bundle?)
  • Declaration

    Swift

    public static func == (lhs: ViewRegistrationMethod, rhs: ViewRegistrationMethod) -> Bool