Laurent,
Thanks for pointing out that I was calling it as a class method. The object
I'm trying to call a method on is actually instantiated as part of the nib
loading process (since its defined in the .nib file), so I changed the name in
the nib file to uiController, and then tried this...
Hi Larry,
Sorry, I missed your original question.
So, you need to wrap up your private API with BridgeSupport files. Using
gen_bridge_metadata is the way to go. Please note that it will generate XML
files that annotate non-introspectable APIs, such as C enums, constants,
structures, functions,
I'm still searching for some answers to my original question regarding calling
across from objective-C to MacRuby, and vice-versa. I've done some
experimenting, and had some success with a private framework, but still haven't
figured out some of the bridging stuff...
I created an objective-C f
Yeah, I'm running into that exact problem actually. ScriptingBridge works
fairly well, but for some reason Safari doesn't properly expose its "open
location" command when I use ScriptingBridge. Argh...
-Gabriel
On Mon, Oct 18, 2010 at 9:26 PM, Laurent Sansonetti
wrote:
> Excellent, thanks :)
>
Agreed, it wasn't difficult. I posted a gist with the solution I came up
with:
http://gist.github.com/633608
I'd love any feedback if I'm doing this in a nonsensical way. :)
-Gabriel
On Mon, Oct 18, 2010 at 4:27 PM, Laurent Sansonetti
wrote:
> Hi Gabriel,
>
> There isn't any way to reconstruc
Excellent, thanks :)
Re-reading your original response, there is indeed another way: using the
ScriptingBridge framework from MacRuby. However, the experience might not be
the same as using AppScript, as ScriptingBridge tends to not work on certain
applications having broken scriptable definit
Definitely! I will take a look at that again tomorrow and put together a
ticket on it.
Thanks for all your incredible work on the MacRuby project, by the way... :)
-Gabriel
On Mon, Oct 18, 2010 at 4:23 PM, Laurent Sansonetti
wrote:
> Hi Gabriel,
>
> Could you file a ticket including instructio
Success! Thanks Eloy.
Matt
On Oct 6, 2010, at 11:06 AM, Eloy Duran wrote:
> Aha, I see. Well, first let me say that, as you noticed, the internals
> of IRB are indeed different than the one from MRI. This is a rewrite
> of IRB called DietRB http://github.com/alloy/dietrb, which was
> mentioned
On Oct 16, 2010, at 8:58 PM, Perry E. Metzger wrote:
> On Fri, 15 Oct 2010 16:30:58 -0700 Laurent Sansonetti
> wrote:
>> Hi Perry,
>>
>> The fix will ship in the next release (likely 0.8). As it may not
>> happen soon, I recommend to grab a nightly build in the meantime.
>
> It would seem to be
Hi Corey,
As some already figured it out, you need to create an application bundle (.app)
around your MacRuby script (with an Info.plist file, and so on), then run it
from the command-line.
macrubyc can be used to compile your script into a binary executable, but you
still need to wrap it ins
Hi Gabriel,
There isn't any way to reconstruct the objc selector. We could expose an API,
though, if you file a ticket, but I suspect it's not hard to do.
Laurent
On Oct 15, 2010, at 2:34 PM, Gabriel Gilder wrote:
> Hi all,
>
> I have a somewhat esoteric problem and I was wondering if anyone
Hi Shaun,
Hard to tell, but maybe you're trying to execute a file which does not have the
execution flag set on? Did you try using `chmod +x' on it?
Laurent
On Oct 14, 2010, at 8:21 PM, Shaun August wrote:
> Hi,
>
> I am building some applications for the first time and when I transfer them
Hi Gabriel,
Could you file a ticket including instructions on how to reproduce the problem?
Thanks,
Laurent
On Oct 14, 2010, at 3:33 PM, Gabriel Gilder wrote:
> Hi all,
>
> I've just updated to MacRuby 0.7 and it appears that it breaks Appscript...
> I've recompiled the framework, re-ran the
Hey Corey,
I've ran into the same problem in my setup of an app I'm doing now. What I
had to do, was a two-fold process.
The first step in the process, is to add my "Classes" folder to my Project
as a Folder Reference, so that the folder would get copied over. This
allows me to keep the folder
I'm trying to get IB to recognize files i've added to xcode, but it
fails unless they are added with the "Recursively create groups for
any added folders" and not with "Create Folder References for any
added folders"
I added some logging to rb_nibtool and it seems like files added with
"Create Fol
15 matches
Mail list logo