From: Satoshi N. <sna...@in...> - 2007-07-15 07:10:07
|
Hi. > While writing QuartzComposer CustomPatch with RubyCocoa, I'm in > trouble with passing arguments from Objective-C code to Ruby. > How can I pass more than one arguments to Ruby code from Objective-C code ? Try this: objc_method :execute_time_arguments, %w|char id double id| def execute_time_arguments(fp8, fp12, fp20) ... end You can see documents of RubyCocoa in your machine: /Developer/Documentation/RubyCocoa/programming.en.html (English) /Developer/Documentation/RubyCocoa/programming.ja.html (Japanese) -- Satoshi Nakagawa |