ios - Is it possible to have two Table Views in one XIB? -


i need have 2 table views in 1 xib file, there way that?

another cleaner way add 2 different uitableviewcontroller xib , set different classes.

two table view controllers

your xib should this. instead of connecting table view datasource , delegates file's owner, connect own controllers.

this way, code clean , easy maintain. later on if want move table different view, it's easy , can done changing ib.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -