Welcome back! In the previous tutorial, you learned how to use the Network Framework to detect and monitor the network status. The framework seems to be working fine through the NetStatus
class, so let’s go one step further and let’s create our own small, open-source framework that will be based on the NetStatus
class. In this tutorial, we will make this framework easily distributable and integratable by creating a pod using CocoaPods and we will even push it to GitHub.
Reusing NetStatus
that way in multiple projects is going to be just like a walk in the park. Moreover, the “recipe” that comes in the following parts can be followed many times for any custom framework you want to create in the future.
Note: If you haven’t checked the previous tutorial, I highly recommend you to take a look first. In case that you only want to learn how to create a pod, please download this project first.