title: Unknown type name 'UIImage'
body: <p>I've upgraded XCode from 5.1.1 to XCode 6.0.1 recently. Now everytime I want to define a new UIImage object I get this error:</p>
  
  <pre>Unknown type name 'UIImage'</pre>
  
  <p>Code:<br>
  1. Create a new project<br>
  2. Add <code>Image View</code> control to the storyboard<br>
  3. Reference the <code>Image View</code> by adding IBOutlet<br>
  4. Add new class file<br>
  5. Add the following line of code to the header file of the new class:<br></p>
  
  <p><pre>@property (strong, nonatomic) UIImage *background;</pre></p>
  
  <p>Header file (.h) content:</p>
  
  <p><pre>
  #import &lt;Foundation/Foundation.h&gt;
  
  @interface CCTile : NSObject
  
  @property (strong, nonatomic) NSString *story;
  @property (strong, nonatomic) UIImage *background; // Error: Unknown type name 'UIImage'
  
  @end
  </pre></p>
  
  <p>However, if I add <code>#import &lt;UIKit/UIKit.h&gt;</code> to the header file (above) everything seems OK!
  Any ideas what am I missing here, please? Is this a change in XCode header files!</p>