Friday, December 13, 2013

Ask IOS game view controller (ViewController) hierarchical relationship

Joined the line of hierarchy ViewController Some applications do not quite understand.

Would like to ask how an IOS game APP processing, UI, game scenes view of the screen corresponding to the hierarchy?

Personal current understanding:

1, there is a root view controller
application
2, the root view controller contains a view controller scene rendering
screen to display
3, the root view controller contains another view controller to handle in-game UI

4, UI view controller contains various sub-interface view controller to manage the relationship
call each interface separately
5, do not know the view and the view of the scene of the screen UI is by what means to interact?

I do not know what is wrong in the above understanding of how a good deal another 5?


PS: The engine and the logical assumption that the project using C + + and other independent developers are not cocoa2d so I do not know how we can better deal with the interaction and interface issues.
Reply:
Read look confused, right? DIY click on sort out.
Reply:
View controller hierarchy, not how to understand ah,
See how to run your application, the interface out how basic it clear;
View of the complexity of the relationship.

No comments:

Post a Comment