Member-only story
Reachability for iOS Swift Applications
Making your user happy
Reachability has been around for a while as Apple Sample Code that can monitor the network status of your user’s device
Ashley Mills rewrote reachability for Swift. This is fantastic, but how can we make this class usable and testable for our needs in any target project.
This tutorial will give you a hand!
Difficulty: Beginner | Easy | Normal | Challenging
Prerequisites:
- Be able to produce a “Hello, World!” iOS application
- Have some understanding of Unit testing
- Be willing to make the user experience that bit better
Terminology
Reachability: A sample application demonstrates how to use the System Configuration framework to monitor the network state of an iOS device
Linking reachability
You should have a single view application set up. Now the easiest way to set up reachability is to download the project from reachability, and then you can simple drag and drop the…