更新时间:2022-12-26 11:43:14
用户界面文件(* .xib)是纯文本,您可以将它们加载到编辑器中.
The user interface files (*.xib) are plain text and you can load them into an editor.
在左窗格的Xcode4中,您可以右键单击>打开为">源".
In Xcode4 on the left pane you can right-click > open as > source.
这将为您提供XML源,您可以在那里找到/替换.
This will give you the XML source any you can find/replace there.
警告:如果做错了事,可能会使整个文件变得无用,因此,除非您始终具有源代码控制,否则请在尝试更改之前制作XIB的副本.
Warning: doing something wrong may render the whole file useless, so unless you have source control anyway, make copies of the XIB before attempting changes.