Xcode 4: Creating a UIView xib, not properly connecting

前端 未结 30 3449
时光说笑
时光说笑 2020-12-02 16:29

I\'m trying to create a nib that contains a view that will be embedded in a TableViewCell. I\'ve created the interface and implementation files, ResultCell.h an

30条回答
  •  伪装坚强ぢ
    2020-12-02 17:12

    This helped me out:

    1. from the project file Panel (left side) select the xib file that is broken.
    2. Click on the Files Owner icon from the editor view.
    3. from the properties Panel (right side) select the third tab (at the top)
    4. specify the "Custom Class"

    If you do not see a "panel", please have a look at the top-right corner of the window and enable the proper "view" buttons. If you don't see the "view" buttons then click on the top-right most capsule button.

提交回复
热议问题