title: xcode 8.2 swift 3 Core data -- use unresolved identifier
body: <p>I have created a core data project in xcode 8.2, After that I created an entity say "TestEntity" in .xcdatamodeld</p>
  
  <p>I am creating entity object by using following code as per given in some tutorials for swift3. <a href="https://developer.apple.com/videos/play/wwdc2016/242/" rel="noreferrer">enter link description here</a></p>
  
  <pre><code>    let appDele = (UIApplication.shared.delegate) as! AppDelegate
      let cont = appDele.persistentContainer.viewContext
  
      let ent  = TestEntity(context:cont)
  </code></pre>
  
  <p>But I got an error "use of unresolved identifier 'TestEntity'."</p>
  
  <p>how to resolve that error.
  <a href="https://i.stack.imgur.com/Dkglg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Dkglg.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/8fCAQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8fCAQ.png" alt="enter image description here"></a></p>