Let’s say we have to call an external SDK in order to perform any kind of work. This SDK requires a token, and this token is a String.
Some days ago I watched this episode from PointFree , and I wanted to come over with a couple of exercises playing with the arithmetic expression of the exercise.
How many times, we need to validate a form, get usable errors for that validation rules, validate some user data while the user inputs it…
How many times, working with struct
s, we want to grab a copy, mutate one value, and then return the mutated value. The traditional way of do this, always has been the next lines of code:
This is the last step of a serie named iOS at Scale based on the next steps:
- Introduction
- Xcode at Scale
- Refactor MarvelClient - split client from logic
- Refactor DataProvidersKit - applying Iversion of Control
- Refactor DetailKit - Single data flow, states, type erasure and more
- Refactor Navigator - Back to simplest
- Refactor AppCore - we really need it?
- Dependency Injection - flexible and composable
- Extra ball: Cache made easy
- Extra ball: Introducing to Promises 1
- Extra ball: Introducing to Promises 2
- Final conclusions