Changing xib name [duplicate]

岁酱吖の 提交于 2020-01-02 13:20:12

问题


I have changed the xib name but the change done is not reflected in the xml file of the xib. I just changed the name by renaming the file in project navigator. am i missing something?

Edit: The project is under version control. and I have tried refactoring.

Edit 2: The issue was i was not changing the owner name referenced from xib and that was the problem in the xml of xib


回答1:


Did you try opening the corresponding .m or .h file, selecting the class name, right clicking and choosing Refactor -> Rename... ?

That should update the .m, .h and .xib files, as well as the project file.



来源:https://stackoverflow.com/questions/14475334/changing-xib-name

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!