• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PerlObjCBridge and SFAuthorization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Nib file not created - Xcode 3.1
  • Next by Date: Re: Nib file not created - Xcode 3.1
  • Previous by thread: Re: PerlObjCBridge and SFAuthorization
  • Next by thread: Transparent Window
  • Index(es):
    • Date
    • Thread