IPhone - what controls are needed for a chat style app? (simple question)

As part of my application, I need to make a chat between two users ... I know how to send messages between them, but I do not know which of the best controls I should use in the user interface. I want the user interface to be similar to WhatsApp (simple and very beautiful)

For example:

WhatsApp chat image http://a5.mzstatic.com/us/r1000/058/Purple/98/b4/e3/mzl.fabxiowr.320x480-75.jpg

  • Below ... maybe UIToolBar + UITextField + 2x UIBarButtonItem ?

  • In the middle (of the message) ... I really don't know , this is my biggest question: bubbles .

  • At the top ... maybe UINavigationBar + 2x UIBarButtonItem ?

I'm new to creating user interfaces, but I'm sure this is a simple question for you, and this is the last step that I have to learn to finish my application =)

I do not want the code, only UIcontrols / hierarchy and / or any ideas, if possible =)

Thanks in advance;)

PS: Sorry for my English: S

+7
source share
1 answer

Hey, you're right about the UINavigation top bar with 2x UIBarButtonItems

The middle seems to be a UIScrollView, and each chat bubble uses an extensible UIImage

[UIImage stretchableImageWithLeftCapWidth:15 topCapHeight:13]

If the above code snippet does not help, you can see the link below. Here's how a tweetie Twitter client used chats in his client with a UITableView.

http://blog.atebits.com/2008/12/fast-scrolling-in-tweetie-with-uitableview/

The bottom is probably a UIToolBar with two UIButtons, not Barbuttons, I think, and, of course, a UITextField

+6
source

All Articles