I need to convert a nsindexpath var into NsInteger or simply an int. e.g:
int rowIndex = [mGoogleBaseTable selectedRow]; //mGoogleBaseTable is a NSTable type
Maybe, this is can help you
NSInteger variable = indexPath.row;