Hi. How can we set structure complex in ui. For example, if we imagine have app's main content contains some ui - different collection views, another sections and end of all we have comments which is shows another page's bottom area.
I think I'll solve it with creating different viewcontrollers - one for collection views, another for comment section... and with addchild i'll add all of that to Main controller.
-
Is this way is well ?
-
CommentController which is gets comments and adding that section to some controller what i want. is this right ?
Finally, we can have images in the forum. That's a GREAT plus.
Yes, you can define different VC for each object.
You can also:
- create the objects in IB: there are several TableViews, several Collection views
- Some may be a subclass of UITableView, UICollectionView, …
- If needed, create Views in IB, to embed some elements which are logically linked
- connect each object to its IBOutlet