ios - Divide module into submodules in VIPER -
have read "book of viper" "rambler&co". there suggestion use 1 module 1 scene , modules can custom , simple. custom (compound) modules suggest divide them sub-modules. example, according how many sections scene has. , offer 5 approaches different cases:
- container
- scroll view controller title, contact, attachment, body submodules etc.
- table section submodules
- table cell-submodules
- view-submodules
seems clear in theory what's realization? how should like? let's if have uitableview (1 module) 2 sections , divide each section submodules? how in code? should use additional folders (don`t think so) each submodule or on level of code? appreciate examples.
Comments
Post a Comment