Creating Reusable Libraries with CocoaPods and GitHub

Updated on September 25th, 2019

⏱ Reading Time: < 1 min

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.

→ Keep Reading at AppCoda

Stay Up To Date

Subscribe to my newsletter and get notifiied instantly when I post something new on SerialCoder.dev.

    We respect your privacy. Unsubscribe at any time.