I need to convert a nsindexpath var into NsInteger or simply an int. e.g:
int rowIndex = [mGoogleBaseTable selectedRow]; //mGoogleBaseTable is a NSTable type
If
NSIndexPath *p = ... // some indexpath
then
NSInteger row = p.row; NSInteger section = p.section;
That's all!