iOS6 XCode4.6.2 Passing Row Number via a Segue -


if pass data via seque view controller, e.g.

 - (void)prepareforsegue:(uistoryboardsegue *)segue sender:(id)sender {      if ([segue.identifier isequaltostring:@"mysequeidentifier"]) {          nsindexpath *indexpath = [self.tableview indexpathforselectedrow];          recipientviewcontroller *destviewcontroller = segue.destinationviewcontroller;          destviewcontroller.intpassedrow = indexpath.row;     }  } 

this passes correct row number but...

i error saying "incompatible integer pointer conversion assigning 'int' 'int'."

if both ints have done wrong?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -