Coder Social home page Coder Social logo

Comments (5)

3lvis avatar 3lvis commented on September 28, 2024

Unless is a developer error (4XX) we should work with the design team in order to provide a non-blocking UI.

USER INPUT VALIDATION ERROR (NOT NETWORKING)

We agree that when possible we'll validate the user's input.

5XX/REACHABILITY (SERVER ERROR)

Recoverable error

We agree that we'll enqueue the operation, and try again later.

User input error

We let the user know to change their input and try again.

4XX (DEVELOPER ERROR)

We'll show pop up saying we screwed up.

401 AUTHENTICATION ERROR

Have a delegate that lets the user renew a token if needed, this delegate method will return true if the request should be retried, otherwise return false if it should return the error.

from ios-handbook.

3lvis avatar 3lvis commented on September 28, 2024

Added one more case based on the scenarios to my current app 401.

from ios-handbook.

3lvis avatar 3lvis commented on September 28, 2024

https://uxplanet.org/optimistic-1000-34d9eefe4c05#.ynydub6q8

from ios-handbook.

3lvis avatar 3lvis commented on September 28, 2024

That blog post shows some of the concepts I mentioned when we discussed this topic.

from ios-handbook.

3lvis avatar 3lvis commented on September 28, 2024

Doing some spring cleaning, please open a new issue if you still want to do this.

from ios-handbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.