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

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.