mardi 17 novembre 2015

Equivalent to UIPresentationController when adding a child view controller

I am trying to implement a view controller hierarchy as per http://ift.tt/1WXY4Il

I see myself adding a lot of view placement code in the container view controller when I add a child view controller's view.

I think that the separation of presentation logic into a UIPresentationController in the context of presenting a view controller is great. Is there something similar in UIKit when adding child view controllers or do I need to roll my own pattern?

Aucun commentaire:

Enregistrer un commentaire