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 16. Patterns: learning to sew

This chapter covers

  • Best coding practices
  • Model-View-Controller pattern
  • Delegate pattern

Some of you are probably worried that this chapter is about sewing, but relax. It’s about coding patterns. What in the world are coding patterns? Honestly, they’re kind of like sewing patterns, hence the analogy. In my goofy mind, there was some guy a million or so years ago (yes, I’m exaggerating) who wanted to make a shirt. He got a roll of fabric (or went and shaved his sheep first) and set about cutting it up to make the required pieces. After trial and error, he finally found the best combination of pieces to sew together to make a shirt. If he was smart, he probably then made a copy of the pieces and set ...

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