Homepage
Sign in / Sign up
Go to the profile of Jacob Aronoff
Jacob Aronoff
Aug 10, 2016
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)

  • Go to the profile of Jacob Aronoff

    Jacob Aronoff

    • Share
    Go to the profile of Jacob Aronoff
    Never miss a story from Jacob Aronoff, when you sign up for Medium. Learn more
    Never miss a story from Jacob Aronoff