Chapter 22. Delegates are everywhere

This chapter covers

  • Adding new LioNs
  • Implementing the Delegate pattern
  • Adding the like and dislike properties

You added a lot of functionality in the last chapter, but you still haven’t added the functionality you need to let a user create a new LioN. You’re going to do that in this chapter, but you’re also going to use delegates again. You learned about delegates in chapter 16, so refer back there if you need a refresher.

22.1. Connecting your views

As you know, you’ve created the functionality that allows a user to tap the + button and open the AddEditViewController scene; and when the user taps Done or Cancel, they’re returned to the main screen. You want to add functionality that will allow you ...

Get Anyone Can Create an App: Beginning iPhone and iPad programming now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.