I'm implementing an ARC-ized version of reachability in an iOS project in Xcode 
4.6.3 by working with Apple's Reachability sample and slowly moving it over 
into my project.

While the code was working perfectly, where I was having problems was with the 
notifications.  Standard unrecognized selector sent to instance stuff.

As it turned out, this was a simple forgetting (and not seeing) the colon 
missing on my notification selector.  An easy fix once I put on my glasses and 
saw it.

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.

With that in mind, are there a set of steps or guidelines for inspecting these 
exceptions that any of you could point me to?

Thanks in advance.
- Alex Zavatone
_______________________________________________

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