ios - How to add collection view in xib and how to reuse it in swift..? -


this question has answer here:

in application,i want add collection view in xib , want reuse in different controllers.i tried xib did not allowed add collection view add cells..??

in of cases challangeing task make viewcontroller reusable since different viewcontrollers have interact different views may have different behaviour, focus on making views reusable using xib as possible. conclusion is preferred use xib file reusable cells not viewcontrollers reuse here , there. can use xib file viewcontrollers instead of keeping refernce in storyboard.


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -