I have a custom UIViewController class that contains my similar methods and UI components shared by my other UIViewController classes. I was wondering if it’s possible for these other classes to not only inherit the methods, but the UI components too so I don’t have to go to each one and add the same buttons and such?
The parent controller and inheriting ones are not exactly the same in UI design.
I have a custom UIViewController class that contains my similar methods and UI components
Share
You can load the view from the nib/xib if you want. In order to do that you can use the method
You can find an example here