O'Reilly logo

Anyone Can Create an App: Beginning iPhone and iPad programming by Wendy L. Wise

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required