How is UITableView handled?
I'm trying to get a better understanding of how UITableView
and work UITableViewCell
, and one of them is sensory processing.
So when I touch a row in a table view, what exactly happens? My basic understanding:
-
UITableView
is thisUIScrollView
, so it first checks if it has a touch or a scroll - If it's not scrolling, then the touch is analyzed to see which line is below the touch point.
- It gets the cell at that indexPath (how?) And tells it
setHighLighted
,setSeletected
This is true? Does anyone have a deeper understanding of this than this?
+2
source to share