How do I fetch all CloudKit Records created by the current user?
<p>Say I have a 'Species' Record Type that contains Public Records which were created by a number of Users. Currently, my query retrieves all records of 'Species':</p>

<pre><code>private func fetchSpecies() {
    // Fetch Public Database
    let publicDatabase = CKContainer.defaultContainer().publicCloudDatabase

    // Initialize Query
    let query = CKQuery(recordType: "Species", predicate: NSPredicate(format: "TRUEPREDICATE"))

    // Configure Query
    query.sortDescriptors = [NSSortDescriptor(key: "latinName", ascending: true)]

    // Perform Query
    publicDatabase.performQuery(query, inZoneWithID: nil) { (records, error) -&gt; Void in
    dispatch_async(dispatch_get_main_queue(), { () -&gt; Void in
        // Process Response on Main Thread
        self.processResponseForQuery(records, error: error)
        })
    }
}
</code></pre>

<p>How can I only fetch records that were created by the current user (as in the owner of the device)?</p>

<p>Thank you!</p>