title: Swift Compiler Error : Use of undeclared type 'EKEventStore'
body: <p>In swift, I define a class FirstViewController: UIViewController. At the beginning of the file, I have this imports : </p>
  
  <pre><code>import UIKit
  import EventKit
  </code></pre>
  
  <p>In a method of the class, I have this line:</p>
  
  <pre><code>var eventStore : EKEventStore = EKEventStore()
  </code></pre>
  
  <p>I have imported the <code>EventKit.framework</code>.</p>
  
  <p>But I have always this Swift Compiler Error : Use of undeclared type 'EKEventStore'.</p>
  
  <p>Please help!</p>