Cannot instantiate UIView from nib. “warning: could not load any Objective-C class information”

后端 未结 2 1114
天命终不由人
天命终不由人 2021-01-14 22:33

I get \"could not load any Objective-C class information. This will significantly reduce the quality of type information available.\" warning in the console while initializi

2条回答
  •  日久生厌
    2021-01-14 23:11

    Found the solution. It all comes to understanding of how xibs work.

    What I did was that I set class for both view and File's Owner and connected all the outlets from the View rather than from the File's owner.

提交回复
热议问题