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.

associative references

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

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -