You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's my code (I'm just making a test application)
import Cocoa
import HotKey
classViewController:NSViewController{overridefunc viewDidLoad(){
super.viewDidLoad()lethotkey=HotKey(keyCombo:KeyCombo(key:.p, modifiers:[.control,.command]))
hotkey.keyDownHandler ={print("Something should happen")}// Do any additional setup after loading the view.}overridevarrepresentedObject:Any?{
didSet {// Update the view, if already loaded.}}}
I'm just wondering if I'm doing any of this right, as you may be able to tell I'm a beginner.
The text was updated successfully, but these errors were encountered:
Here's my code (I'm just making a test application)
I'm just wondering if I'm doing any of this right, as you may be able to tell I'm a beginner.
The text was updated successfully, but these errors were encountered: