initializer

  • Failable Initializer in Swift

    Failable Initializer in Swift

    Read about the failable initializer in Swift, and how to use it in custom types in order to return nil if proper initialization fails.