title: How do I modify a .xib file outside of xcode?
body: <p>I have a .xib file. I open it up with textfile or Dashcode or what ever. </p>
  
  <p>Say it has 4 buttons on it.  All the same but with different titles.  </p>
  
  <p>My goal is to change the color, font, and background image outside of xcode automatically and then import the file into xcode. </p>
  
  <p>However these things are represented by a reference number that I can't seem to find any where in my project folder connecting it to the actual image, color, or font.</p>
  
  <pre><code>&lt;reference key="IBUINormalBackgroundImage" ref="650551563"/&gt;  &lt;!-- Button Background --&gt;
  </code></pre>
  
  <p>So a button looks like this</p>
  
  <pre><code>`&lt;!-- Button 1 --&gt;
  &lt;object class="IBUIButton" id="580622739"&gt;
  &lt;reference key="NSNextResponder" ref="191373211"/&gt;
  &lt;int key="NSvFlags"&gt;292&lt;/int&gt;
  &lt;string key="NSFrame"&gt;{{20, 124}, {280, 37}}&lt;/string&gt;
  &lt;reference key="NSSuperview" ref="191373211"/&gt;
  &lt;reference key="NSWindow"/&gt;
  &lt;reference key="NSNextKeyView" ref="810145050"/&gt;
  &lt;bool key="IBUIOpaque"&gt;NO&lt;/bool&gt;
  &lt;string key="targetRuntimeIdentifier"&gt;IBCocoaTouchFramework&lt;/string&gt;
  &lt;int key="IBUIContentHorizontalAlignment"&gt;0&lt;/int&gt;
  &lt;int key="IBUIContentVerticalAlignment"&gt;0&lt;/int&gt;
  &lt;reference key="IBUIFont" ref="881065587"/&gt;           &lt;!-- Button Font Type --&gt;
  &lt;int key="IBUIButtonType"&gt;1&lt;/int&gt;
  &lt;string key="IBUINormalTitle"&gt;Facebook&lt;/string&gt;     &lt;!-- Button Name --&gt;
  &lt;reference key="IBUIHighlightedTitleColor" ref="587412318"/&gt;
  &lt;reference key="IBUINormalTitleColor" ref="523599070"/&gt;       &lt;!-- Button Font Color --&gt;
  &lt;reference key="IBUINormalTitleShadowColor" ref="457053782"/&gt;
  &lt;reference key="IBUINormalBackgroundImage" ref="650551563"/&gt;  &lt;!-- Button Background --&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>`</p>
  
  <p>EDIT:  Based on some responses.  What I can do is drag and drop a xib into xcode now. But when I am making a new app I want to use an existing xib but with different colors.  I will use php to auto create this code file. Then just drag and drop again. I have done this for all my .h and .m and viewcontrollers.  I need to figure this out for .xibs. </p>