Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No launch complete notification



> El 19/12/2006, a las 8:33, Trygve Inda escribió:
> 
>>> Trygve Inda wrote on Tuesday, December 19, 2006:
>>> 
>>>> If I have an app with:
>>>> 
>>>> <key>NSUIElement</key>
>>>> <string>1</string>
>>>> 
>>>> And I launch it from a Cocoa app, I never get:
>>>> 
>>>> NSWorkspaceDidLaunchApplicationNotification
>>>> 
>>>> If I change the NSUIElement of the subapp to 0 it works. This is
>>>> a big
>>>> problem as I need to know when my app has launched.
>>> 
>>> I have an NSUIEelement appication. I simply have it post its own
>>> notifcation
>>> in applicationDidFinishLaunching.
>> 
>> Thanks - this works... Although it is a Carbon subapp so I post it
>> from the
>> main(). I did find documentation to this affect but will report a
>> bug since
>> it should be documented in the NSWorkspace docs.
> 
> It's not a bug and it is documented:
> 
> http://developer.apple.com/technotes/tn/tn2050.html

I agree it is documented, but should also be noted in the NSWorkspace docs.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: No launch complete notification (From: leenoori <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.