I want to have a View which contains more than one view. see the below image:
as you see pageController controls page navigation and provide before and after viewController (page).
pageContentController displays text and process them.
soundPlayer manages playing related sound
I can have all of them in one controller, but my controller must do a lot of tasks and managing it will be hard task. as it disobey light view controller. and decrease its cohesion. so I wanted to know how can I accomplish this please explain in details.
thanks for your detailed answers. your answers clarified me. what I did:
I added
SoundPalyerVC
as child ofPageContentVC
that was so easy. now my codes are separated.