Create a Swift Package in Xcode

This is how I made my Network Manager

Steven Curtis
5 min readOct 5, 2020

Difficulty: Beginner | Easy | Normal | Challenging This article has been developed using Xcode 11.4.1, and Swift 5.2.2

This is an article about how I’ve created a rather nice Swift Package for people to use a networking manager that I’ve made.

That’s rather nice, isn’t it (probably not, no).

You’ll need to open up Xcode, and create a Swift Package by going to File>New>Swift Package...

You will then choose a suitable location for your new Swift Package!

Setting up your Network Library

You are then given the ability to write a rather lovely README.md that can be used to help the users of your lovely library!

Mine is called Network Library and looks something like the following:

Now we need will delete the NetworkLibrary.swift file (I'm not going to use this in my particular…

--

--