I need to convert a nsindexpath var into NsInteger or simply an int. e.g:
int rowIndex = [mGoogleBaseTable selectedRow]; //mGoogleBaseTable is a NSTable type
Simply convert into int by,
NSIndexPath *path = ... // some indexpath
int row = (int)path.row;