• 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
Tracking down NSNotification center sigaborts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Tracking down NSNotification center sigaborts
      • From: Robert Vojta <email@hidden>
  • Prev by Date: Re: Cocoa + Automator : service to generate text files not working
  • Next by Date: Re: Tracking down NSNotification center sigaborts
  • Previous by thread: Re: Creating CGFont from PDF Tf operator
  • Next by thread: Re: Tracking down NSNotification center sigaborts
  • Index(es):
    • Date
    • Thread