Building scalable backend apps in Swift
Build scalable Swift backends with onion, hexagonal, and clean architecture using use cases, repositories, transactions, and database abstractions.
Articles about application development using the Swift programming language.
Build scalable Swift backends with onion, hexagonal, and clean architecture using use cases, repositories, transactions, and database abstractions.
A brief look at the current state of Swift, AI, LLMs, vibe-coding, and the future of software development.
Discover how traits act as feature flags, enabling conditional compilation, optional dependencies, and advanced package configurations.
Learn how to implement user-friendly, type-safe error handling in Swift 6 with structured diagnostics and a hierarchical error model.
URL encoded requests over multipart form data? Maybe JSON and raw HTTP post body types? Let me explain all of this.
Beginner's guide to learn all about routing and request handling using the Hummingbird server-side Swift framework.
Learn about Swift on the server by creating a simple application using the brand new HTTP server library called: Hummingbird.
In this article I'll show you how to build asynchronous Vapor commands and how to test them using ConsoleKit.
Learn how to run tasks in parallel using the old-school tools and frameworks plus the new structured concurrency API in Swift.
In this tutorial I'm going to show you how you can create an abstract driver-based component for the Vapor framework.
This is a beginner's guide to learn the basics of the SwiftNIO network app framework by building a basic TCP echo server.
Let me show you how to create HTTP requests using multipart (form data) body without a third party library. Simple solution.
In this tutorial I'll show you how to use Makefiles for server-side Swift projects to help running utility tasks in a more simple way.
Beginner's guide about optics in Swift. Learn how to use lenses and prisms to manipulate objects using a functional approach.
Learn the very basics about protocols, existentials, opaque types and how they are related to generic programming in Swift.
In this tutorial I'm going to show you how to use the new binary target related artifact bundle using the Swift package manager.
Learn how to create command plugins for the Swift Package Manager to execute custom actions using SPM and other tools.
The visitor design pattern in Swift allows us to add new features to an existing group of objects without altering the original code.
In this tutorial we're going to build a screen to allow single and multiple selections using diffable data source and a table view.
Learn how to communicate with API endpoints using the brand new SwiftHttp library, including async / await support.
Learn how to manipulate arrays in Swift like a pro. This tutorial covers lots of useful array related methods, tips and tricks.
In this article I'm going to talk about the repository design pattern and give you a few Fluent ORM tips for your Vapor 4 app.
In this tutorial, we're going to build a C app by importing a Swift library and talk a bit about the Swift / C Interoperability in general.
When to use these methods? Common questions and answers about the iOS view hierarchy including memory management.
In this article I've gathered my top 10 favorite modern UIKit tips that I'd definitely want to know before I start my next project.
This is a beginner's guide about creating PWAs for iOS including custom icons, splash screens, safe area and dark mode support.
In this tutorial I'm going to show you how to create your own package collection from your favorite Swift libraries.
This tutorial is all about rendering HTML docs using a brand new DSL library called SwiftHtml and the Vapor web framework.
What's going to happen with Swift on the Server in 2022? Distributed actors, Vapor 5, some predictions and wishes.
This tutorial is about a shared global storage that you can implement using a common design pattern in Vapor 4.
This tutorial is about showing the pros and cons of various Swift tree data structures using structs, enums and classes.
Introduction to the basics of signed number representation and some practical binary operation examples in Swift using UInt8.
Learn everything about logical types and the Boolean algebra using the Swift programming language and some basic math.
These tips will help you to create amazing CLI tools, utility apps, server side projects or terminal scripts using the Swift language.
Learn how to work with the Task object to perform asynchronous operations in a safe way using the new concurrency APIs in Swift.
Learn how to use the brand new actor model to protect your application from unwanted data-races and memory issues.
Learn how to convert your existing EventLoopFuture based Vapor server app using the new async/await Swift feature.
Beginners guide to the new async/await API's in Swift 5.5. Interacting with sync code, structured concurrency, async let.
How to load a dynamic library and use native method swizzling in Swift? This article is all about the magic behind SwiftUI previews.
Learn how to test your server side Swift backend app in a declarative style using a lightweight library called Spec.
Learn to make proper data transfer objects for CRUD operations and integrate them both into the client and server side API layer.
Learn how to use raw pointer references, interact with unsafe pointers and manually manage memory addresses in Swift.
Start learning about how Swift manages, stores and references various data types and objects using a memory safe approach.
Learn how to use system libraries and call C code from Swift. Interoperability between the Swift language and C for beginners.
This tutorial is all about emitting various Swift binaries without the Swift package manager, but only using the Swift compiler.
Learn how to build executable files using the swiftc command, meet the build pipeline, compilers and linkers under the hood.
Learn how to set a custom working directory in Xcode to solve one of the most common beginner issue when using Vapor.
Learn how to build a very simple file upload API server using Vapor 4 and URLSession upload task on the client side.
Learn how to implement Asynchronous JavaScript and XML (AJAX) calls using Leaf templates and Vapor 4 as a server.
Learn how to implement a basic HTML file upload form using the Leaf template engine and Vapor, all written in Swift of course.