O'Reilly logo

iPhone® Application Development For Dummies®, 2nd Edition by Neal Goldstein

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 7. Actually Writing Code

In This Chapter

  • Getting down to coding

  • Using your friendly Xcode editor

  • Having Xcode create your accessors

  • Fixing the plumbing (Part 1)

  • Dealing (yet again) with memory management

If you've jumped right to this chapter, you're probably really itching to start writing some code. I understand the urge, and if you're up for it, this chapter — and the chapters that follow — will definitely scratch that code-writing itch for you. (If you start here and then find some of this tough going, you may want to jump back a chapter or two so I can fill you in on some concepts you'll need under your belt in order to make your coding experience a bit more productive — and more fun!)

Buckle Up, It's Time to Code

Previous chapters talk about design principles in general, as well as about the specific iPhone developer tools (Xcode, Interface Builder) available to you. Chapter 5, for example, has you create the skeleton for a fully functioning iPhone application (my ReturnMeTo jewel) — and now you get to flesh it all out with the code necessary for transforming the ReturnMeTo application from something that just sits there and looks pretty to something that actually does something.

A quick refresher peek at Chapter 5 will show you that quite a bit of the ReturnMeTo application is already in place and ready to go. If you click the text field, for example, you do get the keyboard — though you can't do anything with it just yet. Both the text field and the label are automatically ...

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