MakeItSo
MakeItSo copied to clipboard
Tutorial: Building a Simple Todo List UI
- Simple data model (title, completion state)
- Define some mock data in an extension to the data model
- Displaying a list of todos
- Create a simple list, show todo items from a local array
- Completion toggle
- Implement using
onTapGesture
on theImage
- Implement using
- Adding new todos
- Simple dialog for adding new todos / editing existing one (no inline editing yet, that’s for later)
- Add new items to the local array
Summary
- We’ve built a simple todo list app that stores everything in-memory
- Although it’s pretty simple, the code looks quite complex, so we will refactor it in the next step