Re: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
Re: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
- Subject: Re: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
- From: "Paolo Manna" <email@hidden>
- Date: Tue, 31 Jul 2007 08:04:44 +0100
> The NSApplicationDidFinishLaunchingNotification is posted (at least at my ppc) right
> after the delegate returns.
That sounds strange: the notification is the argument of
applicationDidFinishLaunching:, so it's usually posted by
finishLaunching just before, not after, and the call to the delegate
is the standard response. Are you sure you let your delegate be called
properly?
> I did not register any Observer for this Notification.
You don't need to, assigning a delegate to the application is enough.
Are you overriding finishLaunching too? According to the docs:
"If you override finishLaunching, the subclass method should invoke
the superclass method."
If you mess with the process, stranger things can happen...
> And why does this fail on the intel machine and not on the ppc machine.
Without any code, that's difficult to say: as a vague (and probably
completely wrong in this case) suggestion, look after endian issues.
Paolo
_______________________________________________
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