Mockup

public protocol Mockup

Protocol unifying the form of randomly generated mockups.

  • Generates one randomly generated mockup.

    Declaration

    Swift

    static func random() -> Self
  • random(count:) Default implementation

    Generates array of randomly generated mockups.

    Default Implementation

    Declaration

    Swift

    static func random(count: Int) -> [Self]

    Parameters

    count

    Number of generated items.