Create Your Own Networking Framework for iOS
Create a framework using Xcode that you can make network (http) calls and use it in every iOS project.

Open Xcode and create a new project. In the first screen that appears we need to select Framework as a template for our new project and hit next.