7 May
2011
7 May
'11
12:38 a.m.
hello. how can I write this in macruby? [oPanel beginSheetModalForWindow:[self window] completionHandler:^(NSInteger result) { if (result == NSFileHandlingPanelOKButton) { for (NSURL *fileURL in [oPanel URLs]) { // do something with fileURL } } }]; the second arg is a handler.. thank you -- Pavlos Vinieratos