Xcode像这样的更新多年来一直困扰着我
+++ b/Project/Base.lproj/Main.storyboard
@@ -890,8 +890,6 @@ some existing one.</string>
<resources>
<image name="TabBarButton" width="65" height="15"/>
<image name="TabBarHome" width="25" height="25"/>
- <image name="TabBarHome" width="25" height="25"/>
- <image name="TabBarSettings" width="25" height="25"/>
<image name="TabBarSettings" width="25" height="25"/>
<image name="TrashCan" width="13" height="15"/>
</resources>
您可能以为我确实有重复的行。好的,但是下次Xcode这样做:
+++ b/Project/Base.lproj/Main.storyboard
@@ -890,8 +890,6 @@ some existing one.</string>
<resources>
<image name="AddBrick" width="65" height="15"/>
<image name="TabBarHome" width="25" height="25"/>
+ <image name="TabBarHome" width="25" height="25"/>
+ <image name="TabBarSettings" width="25" height="25"/>
<image name="TabBarSettings" width="25" height="25"/>
<image name="TrashCan" width="13" height="15"/>
</resources>
有什么办法可以防止呢?
答案是不”。故事板是复杂的文档,其中包含序列化的对象图,这些对象的亲本以及故事板GUI的图形图。每当您触摸情节提要中的对象,或更改情节提要中实例化的任何类的类定义时,Xcode都会进行很多更改。只需将其视为黑匣子即可。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句