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 6. The button app, explained

This chapter covers

  • Explaining the button app you created in chapter 5
  • Accessing Apple’s documentation
  • Learning to comment (appropriately!)

In chapter 5, you created the My Button App with a button and a label, and you added code to change the title of the button when the user taps it. This chapter will explain what you did and why you did it. Additionally, we’re going to walk through the Apple documentation so you know where to go when you want more information on topics. We’ll also learn to add comments to the code so you’ll remember what you did and why you did it when you look back at your code at a later date.

6.1. The button, explained

To refresh your memory, here are the steps you took in ...

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