ios - Table view, manual and settings in one screen: Best practice? -


i writing text editing app. target ios 6 , 7, , use storyboards , autolayout.

i thought layout welcome screen work well:

<files in table view> <instructions user> <settings> 

the settings view pretty complex, , benefit having own view controller. instructions view static, , has no logic.

i can think of 3 ways organize this:

  1. create table 3 sections, 1st section list of files, , 2nd , 3rd section big, custom cells with.
  2. wrap 3 views in scrollview
  3. wrap instructions , settings in scrollview

i prefer first solution, seems the, natural way user navigate, haven't seen examples of adding viewcontroller cell tableview anywhere, , haven't been able google me any. prototype cells not seem right way go settings view/controller either.

best practice, suggestions, input?

apple recommends 1 view controller per "screen," rules out option 1. wouldn't want start attempt embed viewcontroller in table cell , smells wrong in case.

you have 3 independent views want scroll, , calls uiscrollview. best way organize this, recommend creating modular uiview subclasses: 1 table, 1 instructions, 1 settings. see answer on question how can package views reusable (not important in case) , modular widgets: uiview , initwithframe , nib file. how can nib file loaded?. can create delegate interfaces each one, , set main view controller implement them in order communicate each of 3 "widgets."


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -