This commit is contained in:
Max Goedjen
2020-03-15 01:01:40 -07:00
committed by GitHub
parent 2c052e2657
commit 6136fc2e69
13 changed files with 283 additions and 60 deletions

View File

@@ -13,10 +13,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
list.add(store: SmartCard.Store())
return list
}()
let updater = PreviewUpdater()
func applicationDidFinishLaunching(_ aNotification: Notification) {
let contentView = ContentView(storeList: storeList)
let contentView = ContentView(storeList: storeList, updater: updater)
// Create the window and set the content view.
window = NSWindow(
contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),