Posts
Browse all posts.
How to build macOS apps using only the Swift Package Manager?
In this article we're going to create a macOS application without ever touching an Xcode project file, but only working with SPM.
Logging for beginners in Swift
Learn how to print variables to the debug console using different functions such as print, dump, NSLog and the unified os.log API.
How to define strings, use escaping sequences and interpolations?
As a beginner it can be hard to understand String interpolation and escaping sequences, in this tutorial I'll teach you the basics.
Swift on the Server in 2020
Why choose Swift as a backend language in 2020? What are the available frameworks to build your server? Let me guide you.
10 short advices that will make you a better Vapor developer right away
As a beginner server side Swift developer you'll face many obstackles. I'll show you how to avoid the most common ones.
How to store keys in env files?
In this tutorial I'll show you how to save and load secret keys as base64 encoded strings using dotenv files in Vapor 4.
Table joins in Fluent 4
In this quick tutorial I'm going to show you how to join and query database models using the Fluent ORM framework in Vapor 4.
Websockets for beginners using Vapor 4 and Vanilla JavaScript
Learn how to create a websocket server using Swift & Vapor. Multiplayer game development using JavaScript in the browser.
Building and loading dynamic libraries at runtime in Swift
Learn how to create a plugin system using dynamic libraries and the power of Swift, aka. modular frameworks on the server-side.
What's new in Swift 5.3?
Swift 5.3 is going to be an exciting new release. This post is a showcase of the latest Swift programming language features.
Sign in with Apple using Vapor 4
A complete tutorial for beginners about how to implement the Sign in with Apple authentication service for your website.
The Swift package manifest file
This article is a complete Swift Package Manager cheatsheet for the package manifest file, using the latest Swift 5.2 tools version.
Server side Swift projects inside Docker using Vapor 4
Learn how to setup Vapor 4 projects inside a Docker container. Are you completely new to Docker? This article is just for you.
Modules and hooks in Swift
Learn how to extend your application with new functionalities using a loosely coupled modular plugin system written in Swift.
All about authentication in Vapor 4
Learn how to implement a user login mechanism with various auth methods using sessions, JWTs, written in Swift only.
A generic CRUD solution for Vapor 4
Learn how to build a controller component that can serve models as JSON objects through a RESTful API written in Swift.
The anatomy of Vapor commands
Learn how to build and run your existing Vapor apps using various command line arguments, flags and environments.
How to use middlewares in Vapor 4?
Learn how to create middlewares for a Vapor based server side Swift application to handle common routing functionalities.
How to write Swift scripts using the new Command API in Vapor 4?
Shell scripts are essentials on the server side. Learn how to build Swift scripts for your backend apps using property wrappers.
Get started with the Fluent ORM framework in Vapor 4
Learn how to use the Fluent ORM framework. Migrations, schemas, relations powered by PostgreSQL, written in Swift.
How to set up pgSQL for Fluent 4?
This is a tutorial for beginners about using PostgreSQL. I'll show you how to automatically backup and restore the database.
How to create your first website using Vapor 4 and Leaf?
Let's build a web page in Swift. Learn how to use the brand new template engine of the most popular server side Swift framework.
How to download files with URLSession using Combine Publishers and Subscribers?
Learn how to load a remote image into an UIImageView asynchronously using URLSessionDownloadTask and the Combine framework in Swift.
Beginner's guide to Server side Swift using Vapor 4
Learn how to build and host your very first backend application using Vapor 4 and the brief history of server side Swift.