Saturday 15 January 2011

ios - Whats more optimal 8 ViewControllers or 1 ViewController and Adjust buttons in ViewDidLoad -


So I need 8 views which are almost identical.

They are all subviews of a single supervision.

1 scene has 33 buttons in a special layout. In the second view, there is a single button (zero 3) in an adjusted layout. The third scene ... more than 3 buttons and more adjusted layout..at

Will my app make the optimum on memory / CPU?

  1. sub-view controller

  2. 1 sub-sectional with 8 storyboarded layouts The controller which hides the X number of buttons and adjusts the rest accordingly ViewDidLoad

your buttons are in relation to the option to make barriers to the query at the time of implementation. As far as optimal performance is observed on runtime memory / CPU, there is no other view, only one view controller is visible at one time.

1) Factors, you may want to consider before choosing your design: What percentage of the functionality is common for these controllers?

2) It can save for you while fixing; Defects in one of the common functions (1 subview calculator is definitely a definite option)

3) How comfortable you are in generating complexity due to the normal code used in the general controller class.


No comments:

Post a Comment