Why is UICollectionViewCell's outlet nil?

后端 未结 8 2126
情话喂你
情话喂你 2020-11-29 16:56

I have created a custom UICollectionViewCell in Interface Builder, binded views on it to the class, and then when I want to use and set a string to the label on the string,

8条回答
  •  甜味超标
    2020-11-29 17:38

    I had a similar problem, but my mistake was that I didn't delegate CollectionViewCell to be able to change the label text..

提交回复
热议问题