Suppose I have a UIViewController in which the view has two subviews, UIScrollView and a UIView. Should I write the functionalities for both subviews inside the UIViewController .m file, or is it recommended to put the subview functionality inside its own .h/.m files?
If it is better to keep them in the same parent view file, what happens if I have a lot more subviews? What is the best practice for this?