All about Swift Package Manager Traits
Explains Swift Package Manager traits, which act as feature flags for conditional compilation and optional dependencies in Swift 6.1.
Tibor Bödecs — Swift developer and technical writer sharing in-depth articles on Swift, Swift 6, server-side Swift, and frameworks like Hummingbird and Vapor, with a focus on clean architecture, type safety, and modern language features.
142 articles from this blog
Explains Swift Package Manager traits, which act as feature flags for conditional compilation and optional dependencies in Swift 6.1.
Explores Swift 6's typed throws for type-safe error handling, introducing a custom SystemError protocol for user-friendly diagnostics.
A guide to using the Hummingbird framework for encoding and decoding HTTP data, including JSON, in Swift server applications.
A beginner's guide to routing and HTTP request handling using the Hummingbird server-side Swift framework, covering trie-based routing and dynamic parameters.
A tutorial on building server-side applications using the Hummingbird framework in Swift, covering setup and key features.
A guide to creating and unit testing asynchronous commands in the Vapor framework for Swift, including a workaround for async support.
Explains parallel task execution in Swift using GCD, Operation Queues, and the new structured concurrency API with practical code examples.
A tutorial on implementing an abstract, driver-based service factory design pattern for the Vapor framework in Swift.
A beginner's tutorial on building a basic TCP echo server using the SwiftNIO network framework for Swift developers.
A tutorial on implementing multipart/form-data file uploads in Swift without third-party libraries, covering HTTP theory and practical code.
A tutorial on using Makefiles to automate common tasks like building, testing, and deploying server-side Swift projects.
A beginner's guide to using lenses and prisms in Swift for functional, immutable data manipulation.
A beginner's guide to modern generic programming in Swift, covering protocols, associated types, existentials, and opaque types.
A tutorial on using Swift Package Manager's new artifact bundles for distributing binary targets across multiple platforms like iOS, macOS, and Linux.
A tutorial on creating custom command plugins for the Swift Package Manager, focusing on integrating tools like SwiftLint for source code formatting.
Explains the Visitor design pattern in Swift with code examples, showing how to add functionality to objects without modifying their original code.
A tutorial on implementing single and multiple selection in UITableView using UIKit's diffable data sources.
A tutorial on using the SwiftHttp library to build async HTTP API clients in Swift, featuring async/await support and request handling.
A beginner's tutorial covering the basics of creating, accessing, and manipulating arrays in the Swift programming language.
Explains the repository design pattern to improve Fluent ORM usage in Vapor 4, addressing issues with models and queries.