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.

Get Head First iPhone and iPad Development, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.