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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -