Re: PerlObjCBridge and SFAuthorization
Re: PerlObjCBridge and SFAuthorization
- Subject: Re: PerlObjCBridge and SFAuthorization
- From: "Sherm Pendley" <email@hidden>
- Date: Fri, 13 Jun 2008 17:29:41 -0400
On Tue, Apr 29, 2008 at 4:59 PM, Cameron Smith <email@hidden> wrote:
>
> my $frameworkPath =
> NSString->stringWithCString_('/System/Library/Frameworks/Security.framework');
> my $framework = NSBundle->alloc->init->initWithPath_($frameworkPath);
You're calling both init() and initWithPath_() here, but you only need
to call one initializer method.
That should probably be:
my $framework = NSBundle->alloc->initWithPath_($frameworkPath);
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden