title: Use of undeclared type 'Object'
body: <p>This is so weird. Normally I could understand a class not being declared, but this is claiming the Object class itself is not declared. NSObject works, but the way my project is setup I need it to be a pure Swift Object. My class header looks like this:</p>
  
  <pre><code> import UIKit
   import Foundation
   class Person: Object {
  </code></pre>
  
  <p>I know foundation isn't really necessary, I just added it because I wasn't sure if that was causing me issues. The issue is occurring in both actual projects and playgrounds as well as in Xcode 6 and the latest Xcode 7 beta with Swift 2.0</p>