• 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: AlertPanel after loading the app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AlertPanel after loading the app


  • Subject: Re: AlertPanel after loading the app
  • From: Jesus Perez <email@hidden>
  • Date: Thu, 05 Sep 2002 18:57:00 +0200

Hi,

Isn't there anything like awakefromnib or init but that start working when
the nib file is loaded?

The problem (or bug) I saw is that I get an extra help menu item if I run
NSRunAlertPanel directly from awakefromnib or init. It happens only when you
have a CFBundleHelpBookFolder entry in the plist.

Mi idea is to show the alert just when the application starts but I don't
want to show 2 helps. I have solved the issue deleting one item with
removeItemAtIndex but I don't like this solution.

Rgrs,
Tackel.



> From: Roarke Lynch <email@hidden>
> Date: Tue, 3 Sep 2002 10:44:38 -0400
> To: TACKEL <email@hidden>
> Cc: email@hidden
> Subject: Re: AlertPanel after loading the app
>
> On Monday, September 2, 2002, at 01:19 PM, TACKEL wrote:
>
>> Hi,
>>
>> Which is the best way to show an alertpanel just before loading the main
>> window? I mean i want to see the main window behind the alerpanel.
>>
>> Thanks,
>> Tackel
>
> Check out NSApplication's NSApplicationDidFinishLoadingNotification.
>
>
> Roarke Lynch
> -------------------------------
> email@hidden
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: AlertPanel after loading the app (From: Roarke Lynch <email@hidden>)

  • Prev by Date: Re: Launching an App without NSWorkspace?
  • Next by Date: ftp volume mounting
  • Previous by thread: Re: AlertPanel after loading the app
  • Next by thread: =?WINDOWS-1252?Q?Error_From_Debugger:__No_Source_File_Named=85? =
  • Index(es):
    • Date
    • Thread