Unable to connect IBOutlet from storyboard to UIView subclass

前端 未结 9 782
旧巷少年郎
旧巷少年郎 2020-12-05 10:11

I am able to right-click and drag from my custom UIView subclass file to the storyboard elements to connect them, but unable to do so the other way around. I believe this is

9条回答
  •  渐次进展
    2020-12-05 10:24

    1: Assign the class to viewController.

    2: Clean your project with Shift-Alt-Cmd-K.

    3: First quit Xcode and clear the derived data. going to: ~/Library/Developer/Xcode/DerivedData

提交回复
热议问题