I have created UIGridView in which a single UITableViewCell contains more than one cells.
You can learn the source code of UIGridView.
My advice is not to code it in your UIViewController. Build an external control and use it in UIViewController is a much better way.
Or you can just use mine :)