Codele / How software is built
Mobile apps
A phone app is installed from a store, draws its screen from pieces, and reacts to your taps. Watch a to-do app redraw itself as you use it.
- A phone app is installed from a store and lives on your phone. Many apps keep some data there, so they open with no signal.
- The screen is built from components: small pieces such as a title, a list row and a button.
- The app remembers facts in its state. A function called render draws the screen from the state.
- A tap is an event. The tap function changes the state, then render draws the screen again.
- Apps are written natively (Swift for iPhone, Kotlin for Android) or once for both (React Native, Flutter). The idea above is the same.
Loading the playable lesson…