Closed davdroman closed 5 years ago
Crashing through fatalError should be avoided if the program can continue running. I replaced them with assertionFailure instead which will only make the program crash when debugging and never in production.
fatalError
assertionFailure
Thanks for the contribution!
Crashing through
fatalError
should be avoided if the program can continue running. I replaced them withassertionFailure
instead which will only make the program crash when debugging and never in production.