You cannot convert NSIndexPath to a string - NSIndexPath is just an array of integers. Assuming that βconvertβ means that you want to access data associated with a specific path, you need to return to the source of that data.
If you created a table from an array of objects, which is usually the case, you just look at the object in the array index equal to the first element of indexPath. If the table is partitioned, you need to look at how the data for partitioning was obtained - this probably applies to sorting objects based on some property of the object.
There is no conversion, just looking at the data source in the same way as when creating the table.
source share