ios - How to separate classes? ios7 -


i using mvc , 1 of controllers have 1000 lines. in contain lot of delegates, ui in code , user actions vc. , more complex in future. want fix not know how. need advices.

you can extract subclasses viewcontroller. 1 way extract subclasses large class identify variables in vc tend used together. pull variables , functions operate on variables out own seperate class.

here references design rules in ios: design patterns


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -