Get Value from Textview

Discussion in 'iOS Programming' started by ilx.mac, Jun 30, 2009.

  1. ilx.mac macrumors member

    Joined:
    Mar 10, 2009
    #1
    Hi there,


    I have a tableview as shown in the picture attached. I have to get the values of the rows displayed. Those are dynamically created ones. My table view has a textbox as well as a cell to display values. how can get values from my table view. Please help me!

    Thanks in advance!:apple:
     
  2. ilx.mac thread starter macrumors member

    Joined:
    Mar 10, 2009
    #2
    Sorry I forgot to attach the image.
     

    Attached Files:

  3. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    It sounds like you want to go through the table's rows and pull the values out of the textFields contained within them. I'd suggest you are better off setting up these textFields ahead of time, perhaps in an array of some kind, and add them into the cells. Then you can just loop through the array to pull the textFields' values. This is based on the accepted approach that the tableView has a separate data source used to provide its data (witnessed by the UITableViewDataSource protocol).
     

Share This Page