How to convert NSIndexpath into NSInteger or simply int? April 26, 2023 by Tarik If NSIndexPath *p = ... // some indexpath then NSInteger row = p.row; NSInteger section = p.section; That’s all!