Create an outlet in storyboard to an inherited property

后端 未结 1 1176
野的像风
野的像风 2020-12-21 16:00

I\'d like to create a basic view controller class BasicController with two subclasses SubclassController and AnotherSUbClassController. BasicController controls view that ha

相关标签:
1条回答
  • 2020-12-21 16:35

    You can ctrl-drag the UIButton from your storyboard to your BasicController for each subclass you have laid out in your storyboard. You can then use the buttonThing in each subclass as usual.

    Remember to link your subviewcontrollers to their respective viewcontrollers in the storyboard.

    0 讨论(0)
提交回复
热议问题