I have a UIButton in the first view. When I click on a button I pushed a 2nd view having table view with data .i want the data of particular row selected by the user in 2nd view sent to the first view.In short second view row data on 1st view while selecting a row on poping to first view?please help .
thanks in advance.
You can use delegate to send data from selected row in 2nd view to the 1st view.
I wrote a tutorial on how to use delegates here: http://krodev.wordpress.com/2012/10/08/objective-c-delegates/.
When you setup a delegate, use 2nd view method to send selected row’s data back to 1st view: