• 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: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
      • From: Stefan Heukamp <email@hidden>
  • Prev by Date: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
  • Next by Date: Re: Compress PDF
  • Previous by thread: Re: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
  • Next by thread: Re: Posting NSApplicationDidFinishLaunchingNotification fails, Application crashes on Intel Macs
  • Index(es):
    • Date
    • Thread