diff --git a/tidbits/AppDelegate.swift b/tidbits/AppDelegate.swift index 48d56d9..d20acec 100644 --- a/tidbits/AppDelegate.swift +++ b/tidbits/AppDelegate.swift @@ -45,6 +45,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate { let container = NSPersistentCloudKitContainer(name: "tidbits") container.loadPersistentStores(completionHandler: { (storeDescription, error) in if let error = error as NSError? { + // TODO: - Ensure this error is handled appropriately + // Replace this implementation with code to handle the error appropriately. // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. @@ -70,7 +72,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { do { try context.save() } catch { - // TODO: - fix this + // TODO: - Ensure this error is handled appropriately // Replace this implementation with code to handle the error appropriately. // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. let nserror = error as NSError