View Full Version : How to create a bulleted list?

Oct 30, 2008, 02:34 PM
I'm creating an app that allows users to write a bulleted list.

Each time they type a line and hit return, its a new item on the list.

I can't figure out how to format my lines so a bullet point displays infront of the line.

Does anyone know how to do this?

Thanks so much for your time. Any bit of help is great!

Oct 30, 2008, 02:46 PM
You're probably going to want to provide your own bullets. Then simply go cell.image = [UIImage imageNamed:@"bullet.png"];

This will place it at the left side of the cell text.

If you want the right side, then use accessoryView.

Oct 30, 2008, 03:23 PM
Thanks! I'll give that I try and let you know if it works.

Nov 1, 2008, 02:26 AM
I would like to implement the code in the post above. What is the best size to have the image (in pixels) for use in the UITableView?

Nov 4, 2008, 10:05 AM
I'd like to do this for text view, not table view.

Does anyone know how to do this?