Get Value from Textview

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

  1. ilx.mac macrumors member

    Mar 10, 2009
    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

    Mar 10, 2009
    Sorry I forgot to attach the image.

    Attached Files:

  3. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    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