Re: Crashing Problem calling postNotificationName
Re: Crashing Problem calling postNotificationName
- Subject: Re: Crashing Problem calling postNotificationName
- From: Jens Alfke <email@hidden>
- Date: Tue, 10 Sep 2013 08:07:55 -0700
On Sep 10, 2013, at 4:08 AM, Dave <email@hidden> wrote:
> I have a crashing problem when calling postNotificationName
Most of the time this happens because an object registered as an observer of that notification has been dealloced.
Try running with NSZombieEnabled and, if this is the case, you should get an exception identifying the deallocated object.
Also, as others have pointed out, if you’re asking about a crash you should include some kind of details about it like the backtrace and any relevant logs.
—Jens
_______________________________________________
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