I need to convert a nsindexpath var into NsInteger or simply an int. e.g:
int rowIndex = [mGoogleBaseTable selectedRow]; //mGoogleBaseTable is a NSTable type
I prefer doing it this way
NSNumber *selRow = [[NSNumber alloc] initWithInteger:indexPath.row];