diff --git a/For_0416.xcodeproj/project.xcworkspace/xcuserdata/minyou.xcuserdatad/UserInterfaceState.xcuserstate b/For_0416.xcodeproj/project.xcworkspace/xcuserdata/minyou.xcuserdatad/UserInterfaceState.xcuserstate index dfe11e4..cda9f5c 100644 Binary files a/For_0416.xcodeproj/project.xcworkspace/xcuserdata/minyou.xcuserdatad/UserInterfaceState.xcuserstate and b/For_0416.xcodeproj/project.xcworkspace/xcuserdata/minyou.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/For_0416/AppDelegate.swift b/For_0416/AppDelegate.swift index dee40f3..bb2b7fe 100644 --- a/For_0416/AppDelegate.swift +++ b/For_0416/AppDelegate.swift @@ -15,6 +15,9 @@ class AppDelegate: NSObject, NSApplicationDelegate { // 메뉴 바 생성 let statusItem = NSStatusBar.system.statusItem(withLength:NSStatusItem.variableLength) + let everyMinuteTimer = Timer.scheduledTimer(timeInterval: 3600, target: self, + selector: #selector(applicationDidFinishLaunching(_:)), userInfo: nil, repeats: true) + func applicationDidFinishLaunching(_ aNotification: Notification) { let dateFormatter = DateFormatter() @@ -28,7 +31,6 @@ class AppDelegate: NSObject, NSApplicationDelegate { button.imagePosition = NSControl.ImagePosition.imageLeft button.title = "+\(dday)" -// 타이틀 표시 코드 // button.title = "For_0416" button.action = #selector(togglePopover(_:))