objective c - How to tell what UIViewController a custom UITableViewCell Xib is on? -
i want find out viewcontroller custom table view cell located on. i'm using ui hierarchy inspector , don't see name of view controller, says uitableview super view of cell.
is there definitive way inspect cell , find out view appears on top of? if can't in uihierachy inspector, how can this?
you can achieve using associative references. not pretty, , not easy use effective on being able associate object another.
here link tutorial on how work.
after digesting can plan associate view controller / view tableview cell on iteration (cell row @ index path maybe)
and delegate method did select row @ index path able obtain associative reference , know view controller needs manipulated.
Comments
Post a Comment