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
Post a Comment