XCTNSPredicateExpectation is slow, and what to do about it
Explains why XCTNSPredicateExpectation is slow for async tests and recommends using Nimble's toEventually for faster, more reliable tests.
Explains why XCTNSPredicateExpectation is slow for async tests and recommends using Nimble's toEventually for faster, more reliable tests.
A tutorial on building a C application by importing and using a Swift library, covering Swift/C interoperability and compiler flags.
A tutorial on creating rich documentation for Swift frameworks using DocC and deploying it to GitHub Pages for static hosting.
A guide to integrating a native mock HTTP server within XCTest for iOS UI testing, using Swifter to isolate tests from backend dependencies.
A guide for iOS developers on how to programmatically open their app's Documents folder in the Files app using a URL scheme.
Explains the differences between loadView and viewDidLoad in UIKit, focusing on memory management and weak vs. strong subviews.
Explains how to combine Swift protocols using inheritance and type-constrained extensions for flexible, reusable code.
A guide to correctly implementing gradient text in UIKit's UILabel, covering common pitfalls and solutions for proper rendering.
A collection of 10 modern UIKit tips for iOS developers, covering dark mode support, trait collection changes, and UIButton context menus.
Explores the UIColor(patternImage:) initializer in iOS development for creating repeating image patterns, highlighting its uses and limitations.
A beginner's guide to creating Progressive Web Apps (PWAs) for iOS, covering custom icons, splash screens, and dark mode support using SwiftHtml and Vapor.
A tutorial on implementing a UIPageControl indicator for horizontal sections in iOS using Compositional Layout and Diffable Data Sources.
Explains how to implement automatic retry logic for asynchronous operations in Swift using the new concurrency model, as a replacement for Combine's retry operator.
A tutorial on creating and signing custom Swift package collections for the Swift Package Manager, including environment setup and tool installation.
A guide to using for loops, forEach, and while loops in Swift for iterating over collections, with examples and key differences.
A tutorial on generating HTML documents in Swift using the SwiftHtml DSL library and the Vapor web framework.
Explains how to fix incorrect animations in iOS Diffable Data Sources by implementing custom Hashable conformance for custom types and Core Data objects.
A guide to creating Combine-compatible wrappers for async/await APIs in Swift, enabling integration between different concurrency models.
Explores upcoming developments in server-side Swift for 2022, including distributed actors, the new concurrency model, and the future of the Vapor framework.
A Swift developer explores using Codable to encode/decode references between types, solving data duplication in JSON-based document models.