Question

I want to build some thing very similar to the iphone messages app that comes by default on the iphone. I am not sure of what UI elements that i should be using to build the conversation view of the messages app.

How are the balloons created and how are they placed in positions. What UI elements are used to create the balloons ?

I am pretty new to the iphone app development

Was it helpful?

Solution

I'd also say it's a UITableView with custom-drawn cells. A few CGGradients and a CALayer with rounded corners can get you a long way.

OTHER TIPS

If I had my guess, I'd say they are very custom UITableViewCells, inside of course a UITableView.

I think you'd need custom graphics to represent the balloons - I mean you generate them programmatically, but that seems rather difficult, opposed to having the art assets.

I think creating an app like that would be a challenge, but it'd be fun.

A side note: If you plan to submit this to the app store don't copy the Messages app's text bubbles too closely. I think it was in the IM+ app where Apple rejected it because they used the same color and identical look as Apple's app. They had to basically strip the color so that all bubbles are the same, instead of 1 color for your text and another for the other person's.

Check out AcaniChat. It's the best open source version of the iPhone Messages app. It uses Core Data and will soon use WebSockets.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top