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
Post a Comment