MJLayoutView is a simple UIView subclass that can align the subviews horizontally, vertically and with alignments, paddings, and all the good stuff.