mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 01:15:33 +00:00
28 lines
831 B
Swift
28 lines
831 B
Swift
//
|
|
// AppDelegate.swift
|
|
// KMSample2
|
|
//
|
|
// Created by Gabriel Wong on 2017-10-06.
|
|
// Copyright © 2017 SIL International. All rights reserved.
|
|
//
|
|
|
|
import KeymanEngine
|
|
import UIKit
|
|
|
|
@UIApplicationMain
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
var window: UIWindow?
|
|
|
|
func application(_ application: UIApplication,
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]? = nil) -> Bool {
|
|
// Set desired level before release
|
|
KeymanEngine.log.outputLevel = .debug
|
|
KeymanEngine.log.logAppDetails()
|
|
|
|
// Replace with your application group id
|
|
// Ensure this happens before installing any keyboards or models within the engine
|
|
// whenever using App Group Identifiers.
|
|
Manager.applicationGroupIdentifier = "group.KMSample"
|
|
return true
|
|
}
|
|
}
|