Stub out a CreateDeckViewController (and view model, etc), which for now might be nothing more than a text field to enter a title and a save button. The text field should of course show some sort of error state or alert if you try to enter an empty name.
The save button should add the card via repos.deckRepo.updateOrCreate.
When pressing the add button in DeckListViewController, navigate to CreateDeckViewController (via MainCoordinator of course).
Basically a copy of #18 🙂
CreateDeckViewController
(and view model, etc), which for now might be nothing more than a text field to enter a title and a save button. The text field should of course show some sort of error state or alert if you try to enter an empty name.repos.deckRepo.updateOrCreate
.DeckListViewController
, navigate toCreateDeckViewController
(viaMainCoordinator
of course).