Xcode shows old, deleted xib files

后端 未结 13 1410
南旧
南旧 2021-01-17 09:22

I\'ve searched all over and haven\'t found any help...

I built a small test app with two UIViewControllers and their corresponding xibs. T

13条回答
  •  自闭症患者
    2021-01-17 10:12

    Not sure whether this helps, but I just had this.

    It took me days to work it out. In my case I enhanced an existing Xib file. The changes I applied in interface builder never appeared in the app.

    Eventually I found the cause. I had my FilesOwner view outlet set to a subview below the top view. When I enhanced the view I did this as an extension to th top view. Thus the changes never appeared when running the app.

    Changing the view outlet to the correct view ( the top view in my case ) did the trick and it all worked fine ...

提交回复
热议问题