O'Reilly logo

Head First iPhone and iPad Development, 2nd Edition by Dan Pilone, Tracey Pilone

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 3. Objective-C for iOS: Email needs variety

image with no caption

We did a lot in Chapter 2, but what language was that?

Parts of the code you’ve been writing might look familiar, but it’s time you got a sense of what’s really going on under the hood. The iOS SDK comes with great tools that mean you don’t need to write code for everything, but you can’t really write apps without learning something about the underlying language, including properties, message passing, and memory management. Unless you work that out, all your apps will be just default widgets! And you want more than just widgets, right?

Renee is catching on....

Mike has been diligently using InstaEmail to communicate his feelings, but his girlfriend is starting to think something weird is going on. Even for Mike, who is a guy who likes his routines, his emails are starting to sound suspicious.

image with no caption

We need to make some adjustments to our InstaEmail design.

Take a look at the various UI controls available in Interface Builder, and think about what would be a quick and easy way for Mike to add to his emails.

Make room for custom input

It’s nothing fancy, but Mike could add a little personal flavor to his emails with a text field at the start. It means he’ll need to do some typing, but in the end his emails will be more unique.

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