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
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel