BothamUI
BothamUI copied to clipboard
Multiple inheritance demand
When I need to introduce other third-party libraries need to inherit to the parent class but BothamUI requirements ExampleViewController, how should solve?
Hi @JqyModi multiple inheritance is not easy to solve in Swift because it's not supported. As a workaround you can copy part of the base view controller to your view controller implementation. In the future we will provide this feature by composition instead of inheritance. Remeber you can always implement all the protocols implemented by the base class 😃 I hope this is the answer to your question.
Ok I will continue to focus on the latest dynamic, very much looking forward to componentization MVP instead of inheritance