iPhone SDK: How to add multiple labels to table cell?

Posted by iPhone Developer on Stack Overflow See other posts from Stack Overflow or by iPhone Developer
Published on 2010-06-05T21:38:24Z Indexed on 2010/06/05 21:42 UTC
Read the original article Hit count: 124

Filed under:

I am trying to create a custom table cell that conveys these data fields.

a.) Name b.) Address1 c.) Address2 d.) Phone

In the table cell these fields should appear centered one after another.

Another requirement is that each of those fields be a different font and color. For that reason, I was thinking of creating labels and attaching them to the cell but I haven't had much luck getting this working.

My question is, can this be done? If so, what is the general approach to follow?

Any pointers or links to examples greatly appreciated.

© Stack Overflow or respective owner

Related posts about iphone-sdk