Could not insert new outlet connection error

后端 未结 21 1391
南方客
南方客 2020-12-14 01:29

I have created a custom cell for loading into a table. The interface is complete and now I am trying to link the xib and the class.

I have the split screen view open

21条回答
  •  独厮守ぢ
    2020-12-14 02:19

    So, it turns out that I was being a fool. You can't quite do it like this with Xcode. If you create the properties manually in the header file, then synthesise them in the class file, you can then link by doing the following:

    Open the xib file Right click on the cell in the "Objects" panel Click and drag from the options here to the objects on the xib.

    That's all there was to it.

提交回复
热议问题