I think I am getting somewhere. Hard to say at this point. (I have managed some spectacular crashes.)

I am assuming that PerlObjCBridge does not work with CamelBones? It seems that way.

What i am trying to do is get NSRunAlertPanel to run. It complains that the first arg is not in NSString format. So I do the following:

my $choice = NSRunAlertPanel(NSString->stringWithCString_('Is this the program you want to send?'),NSString->stringWithCString_(''), NSString->stringWithCString_('Yes'),NSString->stringWithCString_( 'Cancel'), NSString->stringWithCString_('No'));

That blows up real good.

I am not finding any examples using NSString or NSRunPanelAlert. (Nor any pod documentation in CamelBones.pm. Maybe i should report you guys to the "pod-people".)

Anyone have a good example of usage of NSString and/or NSRunPanelAlert?



Reply via email to