Chapter 3. objective-c for the iPhone: Twitter needs variety

I know these are letters and all, but I have no idea what you're saying...

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 iPhone SDK comes with great tools that mean that you don't need to write code for everything, but you can't write entire 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 InstaTwit 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 tweets are starting to sound suspicious.

InstaTwit was working great, and is so easy to use! But I think Renee is on to me. She said I sound like I'm in a rut. I need to be able to add to my tweets or this isn't going to work much longer.

We need to make some adjustments to our InstaTwit 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 tweets.

Make room for custom input

It's nothing fancy, but Mike could add a little personal flavor to his tweets with a text field at the start. It means he'll need ...

Get Head First iPhone Development 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.