Get 1 UITextField and 1 button. There is text in the text box, and when we click on the button, the text is copied to the OSX clipboard .
How can i do this? I read the link to NSPastboard , but did not understand how to do this - just -
Got my button defined in my AppControler.h as follows:
- (IBAction)copyButton:(id)sender;
What should I write in my AppControler.m ? My text box is called "descTextField"
clipboard objective-c xcode cocoa macos
Nono
source share