For example, I put 20 buttons in a view controller, they all inherited frome CommonButton which was inherited from UIButton, and the CommonButton conform a protocol called ButtonDelegate, now I want to assign the delegate to the buttons in view controller. Instead of making 20 buttons' IBOutlet and assign the delegate to each button one by one, is there a way that can simplify the assignment?

