title: Issue with Core Data with CloudKit
body: <p>I have created a calendar app and I need to sync events across devices. I have searched and found this tutorial :
  <a href="http://code.tutsplus.com/tutorials/building-a-shopping-list-application-with-cloudkit-introduction--cms-24674" rel="nofollow noreferrer">http://code.tutsplus.com/tutorials/building-a-shopping-list-application-with-cloudkit-introduction--cms-24674</a></p>
  
  <p>I have followed and setup iCloud in my app's capabilities :
  <a href="https://i.stack.imgur.com/lGOod.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lGOod.png" alt="enter image description here"></a></p>
  
  <p>Then setup this code:</p>
  
  <pre><code>private func fetchUserRecordID() {
      // Fetch Default Container
      let defaultContainer = CKContainer.defaultContainer()
  
      // Fetch User Record
      defaultContainer.fetchUserRecordIDWithCompletionHandler { (recordID, error) -&gt; Void in
          if let responseError = error {
              print(responseError)
  
          } else if let userRecordID = recordID {
              dispatch_async(dispatch_get_main_queue(), { () -&gt; Void in
                  self.fetchUserRecord(userRecordID)
              })
          }
      }
  }
  
  
  
  
  private func fetchUserRecord(recordID: CKRecordID) {
      // Fetch Default Container
      let defaultContainer = CKContainer.defaultContainer()
  
      // Fetch Private Database
      let privateDatabase = defaultContainer.privateCloudDatabase
  
      // Fetch User Record
      privateDatabase.fetchRecordWithID(recordID) { (record, error) -&gt; Void in
          if let responseError = error {
              print(responseError)
  
          } else if let userRecord = record {
              print(userRecord)
          }
      }
  }
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      // Fetch User Record ID
      fetchUserRecordID()
  }
  </code></pre>
  
  <p>When the app runs the compiler gives me this output:</p>
  
  <pre><code>&lt;CKRecord: 0x13f549090; recordType=Users, recordID=_3c16e121bd62445ae4f98b93c1488025:(_defaultZone:__defaultOwner__), recordChangeTag=1&gt;
  </code></pre>
  
  <p>I created an event on my iPhone then open the app on iPad but nothing happens.</p>
  
  <p>This is my Core Data model :</p>
  
  <p><a href="https://i.stack.imgur.com/opCP2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/opCP2.jpg" alt="enter image description here"></a></p>