objective c - Share the same UI for two subclasses in Obj-C/Storyboard -


i have viewcontrollera, , ui layout designed in interface builder (storyboard).

viewcontrollera has 2 concrete subclasses, viewcontrollerb1 , viewcontrollerb2; have same ui superclass viewcontrollera, run different logic.

how can create 2 different concrete classes share same ui storyboard in must indicate view controller's class?

unfortunately storyboard doesn't support subclassing. should create delegate in viewcontrollera different logic.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -