IndexPath হলো সেকশন (section) এবং রো (row) দিয়ে টেবিল ভিউয়ের একটি সেল নির্দেশকারী। এটি Objective-C এবং Swift উভয়েই তৈরি করা যায়।
Objective-C-এ
NSIndexPath *myIP = [NSIndexPath indexPathForRow:5 inSection:2];
Swift-এ
IndexPath(row: 2, section: 4)
সাধারণত cellForRowAt মেথডে ব্যবহার হয় —
let cell = tblView.cellForRow(at: IndexPath(row: 5, section: 2))