DefaultInitializable

public protocol DefaultInitializable

A type is DefaultInitializable as long as it can be initialized with no parameters.

  • Initialize self with default values. self must be in a valid (but unspecified) state.

    Declaration

    Swift

    init()