From e3fd83263267d88262695ba3c7cbd0382a1ee851 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 28 Jul 2020 12:14:54 +0200 Subject: [PATCH] Replaced print() by NSLog() --- .../persistence/CoreDataBankingPersistence.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)") } }