Chapter 21. The AddEditView scene
This chapter covers
- Adding functionality to add new LioNs
- Adding keyboard behaviors
- Adding gesture recognizers
You have a good start on the LioN app, and it’s time to add some more functionality. Remember that a lot of programming is adding a bit of functionality, testing it, editing it, adding more functionality, and so on. It’s generally a good idea to add small bits of functionality so you can test it and make sure it’s working. If you find an error, it’s relatively easy to figure out because you only added a few lines of code. Why am I telling you this again? Because it’s sometimes hard to delete work that you’ve already completed, but that’s how we’re going to start this chapter.
You have several steps to follow now, so I’ll list them here:
- Add a new TableViewController.
- Add a new AddEditViewController.
- Hook up the Cancel and Done buttons.