<classes> element flipping in and out of existence in storyboard file

旧街凉风 提交于 2019-12-04 11:18:42

问题


This isn't a big problem but it is annoying. Every time I edit my storyboard in Interface Builder and I want to check it into the revision control system there's a element that is either generated or removed: if it existed it is removed and vice versa.

It adds needless noise to my checkins.

Does someone have an idea of what's going on and how to fix it?


回答1:


Switch to Xcode 5 as soon as this becomes feasible. There they change the XIB format to be mergeable XML.

While you are still on Xcode 4.x you need to ignore changes to XIB files. Don't always commit all, but revert those changes that you don't want as "noise"



来源:https://stackoverflow.com/questions/8135162/classes-element-flipping-in-and-out-of-existence-in-storyboard-file

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