Re:Show HN: Simple iOS Online/Offline Switch for Development
by awolf on Saturday December 03, 2011 @06:17PM
(#3309205)
Is turning on and off wifi really that big of a pain point?
[ Parent
| on HN ]
Re:Show HN: Simple iOS Online/Offline Switch for Development
by derwildemomo on Saturday December 03, 2011 @06:24PM
(#3309218)
In fact yes. At least for stuff I do I consider it necessary to test almost all eventualities when it comes to online/offline behavior. This makes me have to switch between airplane and online a lot of times, and it is simply a matter of time. So I built this to avoid having to toggle on/off airplane mode all the time.
Re:Show HN: Simple iOS Online/Offline Switch for Development
by awolf on Saturday December 03, 2011 @06:30PM
(#3309228)
I just use the iOS simulator and switch on and off my Mac's wifi.
Re:Show HN: Simple iOS Online/Offline Switch for Development
by derwildemomo on Saturday December 03, 2011 @06:34PM
(#3309238)
I'm streaming my music mostly, so that's a no-go for me, but of course a perfect solution if it works for you.
Re:Show HN: Simple iOS Online/Offline Switch for Development
by ryanpetrich on Saturday December 03, 2011 @08:01PM
(#3309460)
It would be much more useful if it failed NSURLConnections that are already live—that's the failure case that's difficult to test.
Re:Show HN: Simple iOS Online/Offline Switch for Development
by derwildemomo on Saturday December 03, 2011 @08:05PM
(#3309468)
Yes, and it's unfortunately not caught in a reproducible ( does that word exist? ) manner by the existing tools like the connection conditioner. I'll look into it, I thought about extending this project and add some categories to widely used libraries like ASIHTTPRequest, CocoaAsyncSockets and NSURLConnection. Would be superuseful I suppose..