Re: Problems with reachability observer in Mavericks / Xcode 5
Re: Problems with reachability observer in Mavericks / Xcode 5
- Subject: Re: Problems with reachability observer in Mavericks / Xcode 5
- From: Jens Alfke <email@hidden>
- Date: Tue, 12 Nov 2013 07:10:27 -0800
On Nov 12, 2013, at 5:50 AM, Pax <email@hidden> wrote:
> Since it's not getting to reachabilityChanged, I'm guessing that the name (kReachabilityChangedNotification) has changed in Mavericks. Is anyone aware of any changes that have been made in this area? Google has rather turned up a blank in my investigations.
No, that notification name is part of the sample code, not any system framework; it’s defined in Reachability.m and posted by the ReachabilityCallback function.
Have you set a breakpoint in ReachabilityCallback to see if it’s getting called?
—Jens
PS: Also, are you sure you turned off all your network interfaces? Reachability of a server won’t change as long as there’s one network interface up; you have to disable all of them.
_______________________________________________
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