resolve core data merge conflicts error

This commit is contained in:
Bob Sun 2017-02-15 16:51:12 +08:00
parent 9eb5f57b80
commit 068f5be807
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 4 additions and 2 deletions

View file

@ -345,6 +345,7 @@ class PasswordStore {
do {
try context.execute(deleteRequest)
try context.save()
} catch let error as NSError {
print(error)
}