failable
-

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.
iOS & macOS app development tutorials and content

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