How to do multi-inheritance in swift?
<p>I need to implement a class (for convenience name it A) derived from <code>UITableViewController</code> and another(B) from <code>UICollectionViewController</code>. And there are a lot of things common, so I want to put them in class(C) and let A and B inherit C. Now A and B both have two class to inherit, but multiple inheritance is not allowed in swift, so how to implement this? I know there is no multi-inheritance allowed in swift, but I still want to know how to do the things I described above.</p>