Comments (5)
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.
Added one more case based on the scenarios to my current app 401.
from ios-handbook.
https://uxplanet.org/optimistic-1000-34d9eefe4c05#.ynydub6q8
from ios-handbook.
That blog post shows some of the concepts I mentioned when we discussed this topic.
from ios-handbook.
Doing some spring cleaning, please open a new issue if you still want to do this.
from ios-handbook.
Related Issues (20)
- Things to re-evaluate HOT 2
- Add guidelines for view method names HOT 1
- New project checklist
- Add steps to make a multi-platform Carthage framework HOT 2
- Order of code in classes HOT 4
- Error handling best practices HOT 1
- Switching to Realm HOT 20
- Document defaulting new project to Carthage HOT 5
- Guideline for static tables HOT 16
- Formalize method to add subviews and constraints HOT 1
- Reconsider type annotations because of generic methods and compilation times HOT 19
- Swifty delegates HOT 1
- Document why external testers vs internal testers on TestFlight HOT 4
- Use UIKit's separators vs drawing our own separators HOT 1
- How do we agree on things? HOT 2
- Discourage usage of #imageLiteral and #colorLiteral HOT 3
- How do we do things HOT 1
- Guidelines for branch names HOT 1
- Checking dependency folder into git HOT 1
- Master Detail class name convention HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-handbook.