Files
Gwendal Roué 458e1e2675 BREAKING: throwing DatabaseQueue() initializer
As a consequence, FTS3.tokenize(_:) is a throwing method as well.
2022-08-21 21:22:33 +02:00

19 lines
505 B
Swift

import GRDB
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
// Test GRDB
_ = try! DatabaseQueue()
// test SQLITE_ENABLE_FTS5
_ = FTS5.self
// test_SQLITE_ENABLE_PREUPDATE_HOOK
_ = DatabasePreUpdateEvent.self
return true
}
}