I am trying to make a Mac app. To create txt files
-(IBAction)create:(id)sender {
system("/Users/pedrocosta/Desktop/");
system ("touch Mytxtfile.txt");
but how can I link these two expressions?
system("/Users/pedrocosta/Desktop/");
system ("touch Mytxtfile.txt");
Because when I try the app the computer only do:
system("/Users/pedrocosta/Desktop/");