I'm porting my project in Obj-C to Swift and I'm stuck in this method where I have:
textView: NSTextView, doCommandBySelector commandSelector: Selector) -> BOOL
in my objc code I had before
[textView performSelector:commandSelector withObject:nil];
but in Swift I have no idea about the solution, how to actually write the line of code.
Anyone have the solution for this?
I'm going crazy truly for the last week, even after reading tons of documentation.
Thanks