Backend API Documentation in Swift
Christopher Truman
464
Instead of force unwrapping in your response class you should use guard let for safety. If it doesn’t have the fields you need, throw an error (maybe a custom error for your code base)
Instead of force unwrapping in your response class you should use guard let for safety. If it doesn’t have the fields you need, throw an error (maybe a custom error for your code base)