How to parse JSON in Swift using Codable protocol?
A Swift tutorial demonstrating how to download and parse JSON data using the built-in URLSession and Codable protocol, without external dependencies.
A Swift tutorial demonstrating how to download and parse JSON data using the built-in URLSession and Codable protocol, without external dependencies.
Explores ABI stability in Swift, its importance for binary frameworks, and why it's not yet sufficient for shipping them.
A technical guide explaining the differences between Swift modules, packages, libraries, and frameworks, including static vs. dynamic linking.
A tutorial on creating UICollectionView cells with circular images and proper rotation support in iOS using Swift.
A Swift tutorial on creating self-sizing UITableView and UICollectionView cells that support device rotation and dynamic fonts.
A tutorial on calling C code from Swift, covering bridging headers and Swift Package Manager integration for C libraries.
Explains type erasure in Swift, covering its purpose, use cases like AnySequence, and how to implement it to hide concrete types.
A tutorial on using Swift Package Manager to create libraries and executables, manage dependencies, and work with the Package.swift manifest file.
A tutorial on implementing iOS Auto Layout programmatically, covering rotation support, constraints, and animation.
A tutorial on programmatically launching a sandboxed macOS app at user login using Swift, Xcode, and the ServiceManagement framework.
An updated guide to locks, mutexes, and thread safety in Swift, covering modern APIs and best practices for concurrent programming.
A tutorial on creating a universal Swift framework for iOS, macOS, tvOS, and watchOS, covering both traditional and cross-platform methods.
Improving Swift test debugging by pinpointing exact property differences between object instances instead of generic failure messages.
A tutorial on how to retrieve all possible values from a Swift enum, covering both the modern CaseIterable protocol and a legacy solution.
A guide to Swift result builders, explaining how to create type-safe Domain-Specific Languages (DSLs) for tasks like HTML generation.
A tutorial on creating reusable view components for modern iOS collection views using compositional layout and diffable data sources.
A tutorial on implementing asynchronous validation for input data in Vapor, a server-side Swift framework, to enhance API safety.
A curated list of the top 20 open-source Swift libraries for iOS development, covering networking, server-side, reactive programming, and more.
A comprehensive guide to public and private Swift language attributes, explaining their purposes and usage with code examples.
A comprehensive tutorial on Apple's Combine framework for declarative, functional reactive programming in Swift, covering publishers, operators, and subscribers.