|
|
|
|
@ -33,12 +33,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele |
|
|
|
|
config.deleteRealmIfMigrationNeeded = true |
|
|
|
|
Realm.Configuration.defaultConfiguration = config |
|
|
|
|
|
|
|
|
|
// let map = NSLocale.isoCountryCodes.map { (cc) -> (String, String) in |
|
|
|
|
// return (cc, NSLocale.current.localizedString(forRegionCode: cc)!) |
|
|
|
|
// } |
|
|
|
|
// print("cc = \(map)") |
|
|
|
|
|
|
|
|
|
print("start report generation...") |
|
|
|
|
let s = Date() |
|
|
|
|
ReportGenerator.go() |
|
|
|
|
let d = Date().timeIntervalSince(s) |
|
|
|
|
print("reports created in \(d)s") |
|
|
|
|
|
|
|
|
|
return true |
|
|
|
|
} |
|
|
|
|
|