                         print(error!)
                         completion(false)
                     }
-                    
+
                     if let record = record {
                         print(record)
                         completion(true)
                     }
-                    
+
                 })
             }
         } catch {
             print(error)
         }
     }
-    
+
     func getList(completion:  @escaping GetListCompletion) {
         let query = CKQuery(recordType: "List", predicate: NSPredicate(value: true))
-        
+
         self.database.perform(query, inZoneWith: nil) { (records, error) in
             if error != nil {
                 print(error!.localizedDescription)

        }
    }
}

>>>>>>> f994c32c51ee6f1d3789c17d5248766d8cdb5357

    var database : CKDatabase {
        return container.privateCloudDatabase
    }

    private init (){}

    func save(list: List, completion: @escaping ListCompletion) {
        do {
            if let record = try list.record() {
