Interface Builder won't allow connections to custom UIView class?

前端 未结 5 1763
野的像风
野的像风 2021-01-02 09:44

Using Xcode 4.3.3, I can\'t figure out how to connect outlets in a custom UIView class with objects created in Interface Builder.

In one ViewController, I have a var

5条回答
  •  忘掉有多难
    2021-01-02 10:01

    Note that I did get this to work today, but had to insert/type the outlets by hand in the derived class, then I could drag from the header file to the UI element in the Storyboard, but not the other way around.

提交回复
热议问题