Skip to content

Commit

Permalink
Enable keyboard shortcuts on Mac in the example app
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Apr 29, 2022
1 parent 405c586 commit 7a0b62a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Example/FLEXample/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
).write(to: URL(fileURLWithPath: whereToSaveBob), options: [])
}

#if targetEnvironment(macCatalyst) || arch(arm64)
override var keyCommands: [UIKeyCommand]? {
return FLEXManager.shared.getKeyCommands()
}
#endif

let exampleLogLimit = 10
var exampleLogSent = 0
}

0 comments on commit 7a0b62a

Please sign in to comment.