Server-side Swift is credited for the fact that web application developers can harness the power of the Swift programming language first hand. This, along with the power of the open source community behind it – even in what is still classed as its infancy - means that server-side Swift is already a worthy production-quality option.
But what about other advantages, specifically for iOS developers who now build their apps using Swift? Other than knowledge of syntax and specific APIs, what else can they benefit from?
As we saw earlier in this chapter, with the integration of the Swift Package Manager into Xcode, we can now build out some of our code into a module that we can reuse in both our server-side Swift apps and our iOS apps.
Getting started
For this section, we'll continue to work on our Vapor project and will continue to work on a Mac using Xcode.
How to do it...
For a moment, let's take a step away from our Vapor...