title: Text views and image view disappearing from view controller in Xcode 6.1 storyboard
body: <p>I updated to Xcode 6.1 to fix an error I was having with the Interface Builder Cocoa Touch Tool spiking to 99% CPU usage when I used the storyboard, which would freeze Xcode. Now that that error is fixed, I have a possibly even more frustrating error.</p>
  
  <p>When I use the storyboard, while I'm working on a <code>UIViewController</code>, my <code>UITextView</code>, my custom <code>UITextView</code>s (which are subclasses of <code>UITextView</code>, but for all intents and purposes in the storyboard, they're <code>UITextView</code>s), and my <code>UIImageView</code> suddenly disappear!</p>
  
  <p>Here's how the default main view inside my view controller looks right now:</p>
  
  <p><strong>Main View</strong></p>
  
  <ul>
  <li>View
  <ul>
  <li>Activity indicator</li>
  </ul></li>
  <li>Scroll view
  <ul>
  <li>Label</li>
  <li>Text view <strong>(x=0, y=-65, width=0, height=0)</strong> ERROR!</li>
  <li>Label</li>
  <li>Custom text view <strong>(x=0, y=-65, width=0, height=0)</strong> ERROR!</li>
  <li>Label</li>
  <li>Custom text view <strong>(x=0, y=-65, width=0, height=0)</strong> ERROR!</li>
  <li>Label</li>
  <li>Custom text view <strong>(x=0, y=-65, width=0, height=0)</strong> ERROR!</li>
  <li>Label</li>
  <li>Label</li>
  <li>Custom text view</li>
  <li>View
  <ul>
  <li>View
  <ul>
  <li>Label</li>
  <li>Button</li>
  </ul></li>
  <li>Image view <strong>(x=0, y=0, width=0, height=0)</strong> ERROR!</li>
  </ul></li>
  <li>ViewX
  <ul>
  <li>Label</li>
  <li>Custom text view <strong>(x=0, y=-526, width=0, height=0)</strong> ERROR!</li>
  <li>Width and height Constraints for this view.</li>
  </ul></li>
  <li>Button</li>
  <li>Width and height constraints for the scroll view</li>
  <li>Center x and y constraints for ViewX within the scroll view.</li>
  </ul></li>
  <li>Center x and y constraints for the scroll view within the main view.</li>
  </ul>
  
  <p>It all started when I adjusted the size of the view controller using "freeform" in order to see views that were off the view controller screen. Once I used cmd-Z to change the view controller back to "fixed" (to the normal size), the missing elements appeared again and everything seemed fine. However, later on, I was editing the view controller and suddenly...bam! They're gone. And when I reset all of them to where they were supposed to be, it just happened again (resulting in the above described x, y, width, height values).</p>
  
  <p>:-(</p>
  
  <p>Does anyone know what could be wrong? I never had this error in Xcode 5.</p>
  
  <p><strong>EDIT:</strong><br>
  I was able to use cmd-Z to get the view controller back to normal. Then I restarted my mac and reopened Xcode. Now, I've noticed that the error occurs whenever I resize anything in the storyboard by dragging with the cursor (it doesn't happen if I resize something using the width and height properties on the right panel in Xcode). It happens on other view controllers as well. Even in a view controller that has only a <code>UILabel</code> and a <code>UIImageView</code> in the default main view, when I click and drag the edge of the label to resize it, the image view disappears with values of x=0, y=-64, height=0, width=0.</p>
  
  <p><strong>CONCISE SUMMARY:</strong><br>
  In the Xcode 6.1 storyboard, every time I resize any elements in a <code>UIViewController</code>, all <code>UITextView</code>s and <code>UIImageView</code>s  collapse and get shoved -64 pixels above the upper left corner of the view controller.</p>
  
  <p><strong>UPDATE</strong><br>
  It appears that Xcode 6.1.1 has fixed the bug.</p>