1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

How to create a bulleted list?

Discussion in 'iPhone/iPad Programming' started by nyquist212, Oct 30, 2008.

  1. macrumors newbie

    #1
    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!
     
  2. macrumors 68000

    #2
    You're probably going to want to provide your own bullets. Then simply go
    Code:
    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.
     
  3. macrumors newbie

    #3
    Thanks! I'll give that I try and let you know if it works.
     
  4. macrumors member

    #4
    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?
     
  5. macrumors newbie

    #5
    I'd like to do this for text view, not table view.

    Does anyone know how to do this?
     

Share This Page