FlexLib
FlexLib is an Objective-C layout framework for iOS
...Just write everything in one xml. It's much simpler and maintainable. The calculation for height of complex UITableViewCell is really boring. With FlexLib, all the calculation is automatically. FlexScrollView (the subclass of UIScrollView) can manage its contentSize automatically. I'm sure it will save you a lot of time.