Based on the sample of https://github.com/caoimghgin/TableViewCellWithAutoLayout