         }
     }
 }
-
->>>>>>> f994c32c51ee6f1d3789c17d5248766d8cdb5357

            }
            if let records = records {
                var allLists = [List]()
    
                for record in records {
                    guard let recordValue = record["items"] as? [String] else { continue }
                    
            
                    let newList = List()
                    newList.items = recordValue
                    allLists.append(newList)
                }
                
                OperationQueue.main.addOperation {
                    completion(allLists)
                }

    var database : CKDatabase {
        return container.privateCloudDatabase
    }

    private init (){}

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