Swift's Safety Checks: Why a Crash Can Be Safe
Swift sometimes preserves memory safety by stopping the program. Following a Character initializer into the standard library explains when to use assert, precondition, and fatalError.
Posts connected by the assertions tag.
1 post
Swift sometimes preserves memory safety by stopping the program. Following a Character initializer into the standard library explains when to use assert, precondition, and fatalError.