diff --git a/ui/BankingiOSApp/BankingiOSApp/persistence/CoreDataBankingPersistence.swift b/ui/BankingiOSApp/BankingiOSApp/persistence/CoreDataBankingPersistence.swift index 87a059a1..2f99e2be 100644 --- a/ui/BankingiOSApp/BankingiOSApp/persistence/CoreDataBankingPersistence.swift +++ b/ui/BankingiOSApp/BankingiOSApp/persistence/CoreDataBankingPersistence.swift @@ -26,7 +26,7 @@ class CoreDataBankingPersistence: IBankingPersistence, IRemitteeSearcher { try context.save() } catch { - print("Could not save Customer \(customer): \(error)") + NSLog("Could not save Customer \(customer): \(error)") } } @@ -39,7 +39,7 @@ class CoreDataBankingPersistence: IBankingPersistence, IRemitteeSearcher { try customers = context.fetch(request) } catch { - print("Could not request Customers: \(error)") + NSLog("Could not request Customers: \(error)") } return customers.map( { mapper.map($0) } ) @@ -53,7 +53,7 @@ class CoreDataBankingPersistence: IBankingPersistence, IRemitteeSearcher { try context.save() } catch { - print("Could not delete Customer \(customer): \(error)") + NSLog("Could not delete Customer \(customer): \(error)") } } @@ -65,7 +65,7 @@ class CoreDataBankingPersistence: IBankingPersistence, IRemitteeSearcher { try context.save() } catch { - print("Could not save transactions of account \(bankAccount): \(error)") + NSLog("Could not save transactions of account \(bankAccount): \(error)") } }