In my Objective-C app some view controllers have dozens of IBOutlets and 40+ methods. It's getting really hard to read through the code. I tried to limit the number of properties and methods by declaring them in separate controller classes.
Is there some good practice to limit the amount of code in a class or do I have to just accept it as my class has many tasks to control ?
Aucun commentaire:
Enregistrer un commentaire