On 27. 8. 2013, at 19:27, Alex Zavatone <z...@mac.com> wrote:

> But what was difficult was figuring out how to inspect what's going on in the 
> Notification Center.  Stepping into the postNotificationName method didn't 
> step into anything in the debugger, making the crash a little harder to debug.


You should step into postNotification:

postNotificationName:object: and postNotificationName:object:userInfo: are 
there for convenience and these methods do create NSNotification object and 
then post it with postNotification: method. Also notification can be created 
with NSNotification notificationWithName:object / 
notificationWithName:object:userInfo class methods as well.

So, if you want to step into notifications, just stick with postNotification: 
and it should cover all cases how the notification is created / routed.

-- 
Robert @ Tapmates, Inc.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to