Tracking down NSNotification center sigaborts
Tracking down NSNotification center sigaborts
- Subject: Tracking down NSNotification center sigaborts
- From: Alex Zavatone <email@hidden>
- Date: Tue, 27 Aug 2013 13:27:42 -0400
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 (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